diff options
author | Michael Scherer <misc@mageia.org> | 2010-10-26 16:44:10 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2010-10-26 16:44:10 +0000 |
commit | 459b245c6942d08f8b46dbb30f50f61271cbc1bf (patch) | |
tree | 6b0a7c734ac5dbf4b3b029f48b00f8cd2acdb04b | |
parent | f26a9691ad4ead9983bdf3c74e28bc32594782b1 (diff) | |
download | puppet-459b245c6942d08f8b46dbb30f50f61271cbc1bf.tar puppet-459b245c6942d08f8b46dbb30f50f61271cbc1bf.tar.gz puppet-459b245c6942d08f8b46dbb30f50f61271cbc1bf.tar.bz2 puppet-459b245c6942d08f8b46dbb30f50f61271cbc1bf.tar.xz puppet-459b245c6942d08f8b46dbb30f50f61271cbc1bf.zip |
- add the cron job to update the puppet directory
-rw-r--r-- | manifests/nodes.pp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/nodes.pp b/manifests/nodes.pp index 20d0e965..fc333729 100644 --- a/manifests/nodes.pp +++ b/manifests/nodes.pp @@ -5,6 +5,13 @@ node valstar { package {"subversion": ensure => "installed" } + + # update the puppet snapshot + cron { puppet_update: + command => "cd /etc/puppet && /usr/bin/svn update -q", + user => root, + minute => '*/5' + } } # web apps |