propellor spin
This commit is contained in:
parent
dc1a8db064
commit
ed83966460
|
@ -10,7 +10,7 @@ type ConfigFile = [String]
|
||||||
siteEnabled :: HostName -> ConfigFile -> RevertableProperty
|
siteEnabled :: HostName -> ConfigFile -> RevertableProperty
|
||||||
siteEnabled hn cf = RevertableProperty enable disable
|
siteEnabled hn cf = RevertableProperty enable disable
|
||||||
where
|
where
|
||||||
enable = cmdProperty "a2ensite" ["--quiet", hn]
|
enable = trivial (cmdProperty "a2ensite" ["--quiet", hn])
|
||||||
`describe` ("apache site enabled " ++ hn)
|
`describe` ("apache site enabled " ++ hn)
|
||||||
`requires` siteAvailable hn cf
|
`requires` siteAvailable hn cf
|
||||||
`requires` installed
|
`requires` installed
|
||||||
|
|
Loading…
Reference in New Issue