propellor spin

This commit is contained in:
Joey Hess 2014-07-22 16:29:22 -04:00
parent dc1a8db064
commit ed83966460
Failed to extract signature
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ type ConfigFile = [String]
siteEnabled :: HostName -> ConfigFile -> RevertableProperty
siteEnabled hn cf = RevertableProperty enable disable
where
enable = cmdProperty "a2ensite" ["--quiet", hn]
enable = trivial (cmdProperty "a2ensite" ["--quiet", hn])
`describe` ("apache site enabled " ++ hn)
`requires` siteAvailable hn cf
`requires` installed