diff options
author | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2015-02-24 14:34:39 -0500 |
---|---|---|
committer | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2015-02-24 14:38:39 -0500 |
commit | 0bb70b28a7c7679d0e07fd75230d40203c0d53b5 (patch) | |
tree | acd91c59fea86768f81d98e262ed1677f646fa47 /manifests/puppetmaster/checklastrun.pp | |
parent | beae5a608dd1b1d370917896d853a6b53ad73a45 (diff) | |
parent | 8584340c2aeac7d97a78b8303ab377b5049b80c2 (diff) |
Merge branch 'master' of git://git.puppet.immerda.ch/module-puppet
Conflicts:
files/master/config.ru
files/master/puppet.conf
manifests/base.pp
manifests/centos.pp
manifests/cron.pp
manifests/cron/base.pp
manifests/cron/linux.pp
manifests/debian.pp
manifests/init.pp
manifests/linux.pp
manifests/master/linux.pp
manifests/master/package/debian.pp
manifests/puppetmaster/base.pp
manifests/puppetmaster/centos.pp
manifests/puppetmaster/checklastrun.pp
manifests/puppetmaster/checklastrun/disable.pp
manifests/puppetmaster/cleanup_reports.pp
manifests/puppetmaster/cleanup_reports/disable.pp
manifests/puppetmaster/debian.pp
manifests/puppetmaster/package.pp
manifests/puppetmaster/package/base.pp
manifests/puppetmaster/passenger.pp
Diffstat (limited to 'manifests/puppetmaster/checklastrun.pp')
-rw-r--r-- | manifests/puppetmaster/checklastrun.pp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/manifests/puppetmaster/checklastrun.pp b/manifests/puppetmaster/checklastrun.pp deleted file mode 100644 index e4278c7..0000000 --- a/manifests/puppetmaster/checklastrun.pp +++ /dev/null @@ -1,36 +0,0 @@ -class puppet::puppetmaster::checklastrun { - - $puppet_lastruncheck_ignorehosts_str = $::puppet_lastruncheck_ignorehosts ? { - '' => '', - undef => '', - default => "--ignore-hosts ${::puppet_lastruncheck_ignorehosts}" - } - - $puppet_lastruncheck_timeout_str = $::puppet_lastruncheck_timeout ? { - '' => '', - undef => '', - default => "--timeout ${::puppet_lastruncheck_timeout}" - } - - include ::cron - - file{ - '/usr/local/sbin/puppetlast': - source => [ 'puppet:///modules/puppet/master/lastruncheck' ], - owner => root, - group => 0, - mode => '0700'; - - '/etc/cron.d/puppetlast': - content => "${puppetmaster_lastruncheck_cron} root output=\$(/usr/local/sbin/puppetlast ${puppet_lastruncheck_timeout_str} ${puppet_lastruncheck_ignorehosts_str} ${$puppet_lastruncheck_additionaloptions} 2>&1) || echo \"\$output\"\n", - require => File['/usr/local/sbin/puppetlast'], - owner => root, - group => 0, - mode => '0644', - notify => Service['cron']; - - # Cleanup cronjob previously installed under a buggy name. - '/etc/cron.d/puppetlast.cron': - ensure => absent; - } -} |