propellor spin
This commit is contained in:
parent
fcabeb677b
commit
dc1a8db064
|
@ -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 = trivial $ cmdProperty "a2ensite" ["--quiet", hn]
|
enable = 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