propellor-1.2.0: property-based host configuration management in haskell

Safe HaskellNone




data Eep Source



nuked :: UserName -> Eep -> Property Source

Removes user home directory!! Use with caution.

hasSomePassword :: UserName -> Property Source

Only ensures that the user has some password set. It may or may not be the password from the PrivData.

hasSomePassword' :: IsContext c => UserName -> c -> Property Source

While hasSomePassword uses the name of the host as context, this allows specifying a different context. This is useful when you want to use the same password on multiple hosts, for example.

hasPassword :: UserName -> Property Source

Ensures that a user's password is set to the password from the PrivData. (Will change any existing password.)

shadowConfig :: Bool -> Property Source

Controls whether shadow passwords are enabled or not.