summaryrefslogtreecommitdiff
path: root/files/puppet/modules/custom/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'files/puppet/modules/custom/manifests')
-rw-r--r--files/puppet/modules/custom/manifests/check_mk.pp11
-rw-r--r--files/puppet/modules/custom/manifests/init.pp9
2 files changed, 19 insertions, 1 deletions
diff --git a/files/puppet/modules/custom/manifests/check_mk.pp b/files/puppet/modules/custom/manifests/check_mk.pp
new file mode 100644
index 0000000..a3020fe
--- /dev/null
+++ b/files/puppet/modules/custom/manifests/check_mk.pp
@@ -0,0 +1,11 @@
+# custom changes to check_mk
+#
+class custom::check_mk {
+
+ file { '/etc/check_mk/conf.d/ignored_services.custom.mk':
+ source => 'puppet:///modules/custom/check_mk/ignored_services.custom.mk',
+ mode => '0644',
+ owner => 'root',
+ group => 'root',
+ }
+}
diff --git a/files/puppet/modules/custom/manifests/init.pp b/files/puppet/modules/custom/manifests/init.pp
index 983ca42..0a67491 100644
--- a/files/puppet/modules/custom/manifests/init.pp
+++ b/files/puppet/modules/custom/manifests/init.pp
@@ -5,11 +5,18 @@ class custom {
$services = hiera('services', [])
+ # monitoring
+ # munin
include custom_munin_node
include custom_shorewall::munin_node
+ # check_mk
+ if member ( $services, 'monitor') {
+ include ::custom::check_mk
+ }
+
# packages we want to install on every server
- ensure_packages (['iotop', 'vim', 'tmux', 'bash-completion', 'ncdu'])
+ ensure_packages (['iotop', 'vim', 'tmux', 'bash-completion', 'ncdu', 'tig'])
if member ( $services, 'openvpn') {
include custom_munin_node::openvpn