getting rid of ganglia::cron::gmetric
This commit is contained in:
@@ -112,15 +112,15 @@ class puppet (
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if defined(Class['ganglia::monitor']) {
|
# if defined(Class['ganglia::monitor']) {
|
||||||
Ganglia::Gmetric::Cron {
|
# Ganglia::Gmetric::Cron {
|
||||||
source => 'puppet/ganglia',
|
# source => 'puppet/ganglia',
|
||||||
ensure => $ensure,
|
# ensure => $ensure,
|
||||||
}
|
# }
|
||||||
|
#
|
||||||
ganglia::gmetric::cron { 'puppetd_lastrun.sh': runwhen => '5'; 'puppetd_runtime.sh': runwhen => '15'; }
|
# ganglia::gmetric::cron { 'puppetd_lastrun.sh': runwhen => '5'; 'puppetd_runtime.sh': runwhen => '15'; }
|
||||||
|
#
|
||||||
}
|
# }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$puppet_user = $operatingsystem ? {
|
$puppet_user = $operatingsystem ? {
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
class puppet::puppetmaster ($ensure = 'present', $puppetqd = false) {
|
class puppet::puppetmaster (
|
||||||
|
$ensure = 'present',
|
||||||
|
$puppetqd = false) {
|
||||||
require 'puppet::common'
|
require 'puppet::common'
|
||||||
|
|
||||||
if !defined(Class['puppet::puppetlabs_apt']) {
|
if !defined(Class['puppet::puppetlabs_apt']) {
|
||||||
@@ -24,20 +26,20 @@ class puppet::puppetmaster ($ensure = 'present', $puppetqd = false) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if defined(Class['ganglia::monitor']) {
|
# if defined(Class['ganglia::monitor']) {
|
||||||
Ganglia::Gmetric::Cron {
|
# Ganglia::Gmetric::Cron {
|
||||||
source => 'puppet/ganglia',
|
# source => 'puppet/ganglia',
|
||||||
ensure => $ensure,
|
# ensure => $ensure,
|
||||||
}
|
# }
|
||||||
|
#
|
||||||
ganglia::gmetric::cron {
|
# ganglia::gmetric::cron {
|
||||||
'puppetmaster.rb':
|
# 'puppetmaster.rb':
|
||||||
runwhen => '5';
|
# runwhen => '5';
|
||||||
|
#
|
||||||
'puppetmaster_compiletime.rb':
|
# 'puppetmaster_compiletime.rb':
|
||||||
runwhen => '60',
|
# runwhen => '60',
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
|
|
||||||
# ## remove disk reports from time to time
|
# ## remove disk reports from time to time
|
||||||
tidy { "${::puppet_vardir}/reports":
|
tidy { "${::puppet_vardir}/reports":
|
||||||
|
|||||||
Reference in New Issue
Block a user