summaryrefslogtreecommitdiff
path: root/manifests/openbsd.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-08-06 19:36:40 +0200
committermh <mh@immerda.ch>2010-08-06 19:36:40 +0200
commit7d904841c15873db9ac1745f659d8464fd45f41a (patch)
tree991567a2557fa59b6502d2c0bcf87f6c786c5c34 /manifests/openbsd.pp
parent6bd681ab05072964efc95ecfe2816e371e45a862 (diff)
codestyle - whitespace
Only code style and whitespace formatting issues. Everything should no be in ligne.
Diffstat (limited to 'manifests/openbsd.pp')
-rw-r--r--manifests/openbsd.pp42
1 files changed, 21 insertions, 21 deletions
diff --git a/manifests/openbsd.pp b/manifests/openbsd.pp
index d08a50b..7427a86 100644
--- a/manifests/openbsd.pp
+++ b/manifests/openbsd.pp
@@ -1,23 +1,23 @@
class puppet::openbsd inherits puppet::base {
- Service['puppet']{
- restart => '/bin/kill -HUP `/bin/cat /var/run/puppet/puppetd.pid`',
- stop => '/bin/kill `/bin/cat /var/run/puppet/puppetd.pid`',
- start => '/usr/local/bin/puppetd',
- hasstatus => false,
- hasrestart => false,
- }
- openbsd::rc_local{'puppetd':
- binary => '/usr/local/bin/puppetd',
- }
- cron { 'puppetd_check':
- command => '/bin/ps ax | /usr/bin/grep -v grep | /usr/bin/grep -q puppetd || (sleep `echo $RANDOM/2000*60 | bc` && /usr/local/bin/puppetd)',
- user => root,
- minute => 0,
- }
- cron { 'puppetd_restart':
- command => 'sleep `echo $RANDOM/2000*60 | bc` && /bin/kill `/bin/cat /var/run/puppet/puppetd.pid`; /usr/local/bin/puppetd',
- minute => 0,
- hour => 22,
- monthday => '*/2',
- }
+ Service['puppet']{
+ restart => '/bin/kill -HUP `/bin/cat /var/run/puppet/puppetd.pid`',
+ stop => '/bin/kill `/bin/cat /var/run/puppet/puppetd.pid`',
+ start => '/usr/local/bin/puppetd',
+ hasstatus => false,
+ hasrestart => false,
+ }
+ openbsd::rc_local{'puppetd':
+ binary => '/usr/local/bin/puppetd',
+ }
+ cron { 'puppetd_check':
+ command => '/bin/ps ax | /usr/bin/grep -v grep | /usr/bin/grep -q puppetd || (sleep `echo $RANDOM/2000*60 | bc` && /usr/local/bin/puppetd)',
+ user => root,
+ minute => 0,
+ }
+ cron { 'puppetd_restart':
+ command => 'sleep `echo $RANDOM/2000*60 | bc` && /bin/kill `/bin/cat /var/run/puppet/puppetd.pid`; /usr/local/bin/puppetd',
+ minute => 0,
+ hour => 22,
+ monthday => '*/2',
+ }
}