This commit is contained in:
Joey Hess 2014-03-30 01:51:04 -04:00
parent c0bc3815ac
commit a0a416780d
Failed to extract signature
1 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ sshdConfig = "/etc/ssh/sshd_config"
setSshdConfig :: String -> Bool -> Property
setSshdConfig setting allowed = combineProperties desc
[ lineNotInFile sshdConfig $ sshLine (not allowed)
, lineInFile sshdConfig $ sshLine allowed
[ lineNotInFile sshdConfig $ sshline (not allowed)
, lineInFile sshdConfig $ sshline allowed
] `onChange` restartSshd
where
desc = unwords [ "ssh config:", setting, sshBool allowed ]