diff options
| author | Joey Hess <joey@kitenet.net> | 2014-04-09 00:54:27 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-04-09 00:54:27 -0400 |
| commit | 064cdd8fc575e5a16fa20bf382387560e9e4c580 (patch) | |
| tree | aee8e55a2d5655941125041aba8558bd51ea3e35 /config-simple.hs | |
| parent | 969f01eb73cee1e49faf0195de5c784182349261 (diff) | |
propellor spin
Diffstat (limited to 'config-simple.hs')
| -rw-r--r-- | config-simple.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config-simple.hs b/config-simple.hs index 5e43b467..6784f76c 100644 --- a/config-simple.hs +++ b/config-simple.hs @@ -3,6 +3,7 @@ import Propellor import Propellor.CmdLine +import Propellor.Property.Scheduled import qualified Propellor.Property.File as File import qualified Propellor.Property.Apt as Apt import qualified Propellor.Property.Network as Network @@ -34,7 +35,7 @@ host hostname@"mybox.example.com" = Just $ props & Network.ipv6to4 & File.dirExists "/var/www" & Docker.docked container hostname "webserver" - & Docker.garbageCollected + & Docker.garbageCollected `period` Daily & Cron.runPropellor "30 * * * *" -- add more hosts here... --host "foo.example.com" = |
