update for cron change
This commit is contained in:
parent
5c38eca6c2
commit
514bc70c39
|
@ -33,7 +33,7 @@ hosts =
|
||||||
& File.dirExists "/var/www"
|
& File.dirExists "/var/www"
|
||||||
& Docker.docked webserverContainer
|
& Docker.docked webserverContainer
|
||||||
& Docker.garbageCollected `period` Daily
|
& Docker.garbageCollected `period` Daily
|
||||||
& Cron.runPropellor "30 * * * *"
|
& Cron.runPropellor (Cron.Times "30 * * * *")
|
||||||
|
|
||||||
-- add more hosts here...
|
-- add more hosts here...
|
||||||
--, host "foo.example.com" = ...
|
--, host "foo.example.com" = ...
|
||||||
|
|
|
@ -22,7 +22,7 @@ You can add a central git repository to your existing propellor setup easily:
|
||||||
`cd ~/.propellor/; git remote add deploy git://git.example.com/propellor.git`
|
`cd ~/.propellor/; git remote add deploy git://git.example.com/propellor.git`
|
||||||
|
|
||||||
2. Add a property to your hosts like:
|
2. Add a property to your hosts like:
|
||||||
`Cron.runPropellor "*/30 * * * *"`
|
`Cron.runPropellor (Cron.Times "*/30 * * * *")`
|
||||||
|
|
||||||
3. Let your hosts know about the changed configuration (including the url
|
3. Let your hosts know about the changed configuration (including the url
|
||||||
to the central repository), by running `propellor --spin $HOST` for each
|
to the central repository), by running `propellor --spin $HOST` for each
|
||||||
|
|
|
@ -66,7 +66,7 @@ Some other properties you may find in your config.hs, or want to add:
|
||||||
& Apt.unattendedUpgrades
|
& Apt.unattendedUpgrades
|
||||||
& User.hasSomePassword "root"
|
& User.hasSomePassword "root"
|
||||||
& "/etc/default/foodaemon" `File.containsLine` "ENABLED=yes"
|
& "/etc/default/foodaemon" `File.containsLine` "ENABLED=yes"
|
||||||
& Cron.runPropellor "30 * * * *"
|
& Cron.runPropellor (Cron.Times "30 * * * *")
|
||||||
"""]]
|
"""]]
|
||||||
|
|
||||||
Some of these properties can be reverted -- this makes Propellor undo whatever
|
Some of these properties can be reverted -- this makes Propellor undo whatever
|
||||||
|
|
Loading…
Reference in New Issue