summaryrefslogtreecommitdiff
path: root/manifests/puppetmaster.pp
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-02-24 14:34:39 -0500
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-02-24 14:38:39 -0500
commit0bb70b28a7c7679d0e07fd75230d40203c0d53b5 (patch)
treeacd91c59fea86768f81d98e262ed1677f646fa47 /manifests/puppetmaster.pp
parentbeae5a608dd1b1d370917896d853a6b53ad73a45 (diff)
parent8584340c2aeac7d97a78b8303ab377b5049b80c2 (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.pp')
-rw-r--r--manifests/puppetmaster.pp49
1 files changed, 0 insertions, 49 deletions
diff --git a/manifests/puppetmaster.pp b/manifests/puppetmaster.pp
deleted file mode 100644
index 3e8711c..0000000
--- a/manifests/puppetmaster.pp
+++ /dev/null
@@ -1,49 +0,0 @@
-# manifests/puppetmaster.pp
-class puppet::puppetmaster inherits puppet {
- case $operatingsystem {
- debian: { include puppet::puppetmaster::debian }
- centos: { include puppet::puppetmaster::centos }
- default: {
- case $kernel {
- linux: { include puppet::puppetmaster::linux }
- }
- }
- }
-
- include puppet::puppetmaster::base
-
-
- case $puppetmaster_lastruncheck_cron {
- '',undef: { $puppetmaster_lastruncheck_cron = '40 10 * * *' }
- }
-
- if $puppetmaster_lastruncheck_cron {
- include puppet::puppetmaster::checklastrun
- } else {
- include puppet::puppetmaster::checklastrun::disable
- }
-
- if $puppetmaster_mode == 'passenger' {
- include puppet::puppetmaster::passenger
- } elsif $puppetmaster_mode == 'cluster' {
- include puppet::puppetmaster::cluster
- }
-
- case $puppetmaster_cleanup_reports {
- '': { $puppetmaster_cleanup_reports = '30' }
- }
-
- if $puppetmaster_cleanup_reports {
- include puppet::puppetmaster::cleanup_reports
- } else {
- include puppet::puppetmaster::cleanup_reports::disable
- }
-
- if $use_shorewall {
- include shorewall::rules::puppet::master
- }
-
- if $use_munin {
- include puppet::puppetmaster::munin
- }
-}