-- | Maintainer: Sean Whitton module Propellor.Property.EtcDefault ( EtcDefaultFile, set, ) where import Propellor.Base import Propellor.Property.ConfFile -- | The name of a file in , without the prefix. -- E.g. @useradd@. type EtcDefaultFile = String -- | Set a key=value pair in a file in . set :: EtcDefaultFile -> ShellKey -> String -> Property UnixLike set f key value = containsShellSetting ("/etc/default" f) (key, value)