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