propellor

propellor config for hosts.
git clone git://git.ricketyspace.net/propellor.git
Log | Files | Refs | LICENSE

comment_3_a82855697a268a4f2165db717a652516._comment (856B)


      1 [[!comment format=mdwn
      2  username="frederik@ffbea6a549cb3f460d110386c0f634c1ddc6a68a"
      3  nickname="frederik"
      4  subject="comment 3"
      5  date="2016-04-06T14:14:23Z"
      6  content="""
      7 I tried adding
      8 
      9     & File.dirExists \"/mnt/nfs\"
     10     & \"/etc/fstab\" `File.containsLine` \"192.168.1.100:/mnt/usb1 /mnt/nfs nfs intr 0 0\"
     11       `onChange` cmdProperty \"mount\" [\"-a\"]
     12 
     13 This mimicks the bitlbee example on /usr/local/propellor/config-joey.hs
     14 
     15 But that results:
     16 
     17     src/config.hs:36:11:
     18         No instance for (Combines
     19                            (Property NoInfo) (UncheckedProperty NoInfo))
     20           arising from a use of ‘onChange’
     21         In the second argument of ‘(&)’, namely
     22           ‘\"/etc/fstab\"
     23            `File.containsLine` \"192.168.1.100:/mnt/usb1 /mnt/nfs nfs intr 0 0\"
     24            `onChange` cmdProperty \"mount\" [\"-a\"]’
     25 
     26 
     27 
     28 """]]