Mercurial > repos > other > Puppet
comparison manifests/templates.pp @ 38:a1960fb961c5 puppet-3.6
Move APF refresh command to node template, as it won't work on boxes without it!
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 14 Mar 2015 20:22:36 +0000 |
parents | 1bb941522ebf |
children | 222904296578 |
comparison
equal
deleted
inserted
replaced
37:addb0ea390a1 | 38:a1960fb961c5 |
---|---|
509 cron { 'permissions': | 509 cron { 'permissions': |
510 command => '/usr/local/bin/set-permissions', | 510 command => '/usr/local/bin/set-permissions', |
511 hour => 3, | 511 hour => 3, |
512 minute => 2 | 512 minute => 2 |
513 } | 513 } |
514 cron { 'apf-refresh': | |
515 command => '/etc/apf/apf --refresh >> /dev/null 2>&1 &', | |
516 hour => '*/6', | |
517 minute => '45' | |
518 } | |
519 # Since we're only managing the local server, use "puppet apply" instead of PuppetMaster | 514 # Since we're only managing the local server, use "puppet apply" instead of PuppetMaster |
520 cron { 'puppet': | 515 cron { 'puppet': |
521 command => 'puppet apply /etc/puppet/manifests/site.pp | grep -v "Finished catalog run in"', | 516 command => 'puppet apply /etc/puppet/manifests/site.pp | grep -v "Finished catalog run in"', |
522 hour => '*/6', | 517 hour => '*/6', |
523 minute => 5 | 518 minute => 5 |