summaryrefslogtreecommitdiff
path: root/config-simple.hs
diff options
context:
space:
mode:
Diffstat (limited to 'config-simple.hs')
-rw-r--r--config-simple.hs3
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" =