From 924a511386d93ed1b51a43936201cae619ccdb67 Mon Sep 17 00:00:00 2001 From: Alexander Klimov Date: Tue, 9 Sep 2014 16:27:26 +0200 Subject: [PATCH] Profile `icingaweb2_dev': add config files to 'modules/monitoring' backends.ini config.ini instances.ini refs #6842 --- .../icingaweb/modules/monitoring/backends.ini | 18 ++++++++++++++++++ .../icingaweb/modules/monitoring/config.ini | 2 ++ .../icingaweb/modules/monitoring/instances.ini | 2 ++ .../profiles/icingaweb2_dev/manifests/init.pp | 4 +++- 4 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 .vagrant-puppet/profiles/icingaweb2_dev/files/etc/icingaweb/modules/monitoring/backends.ini create mode 100644 .vagrant-puppet/profiles/icingaweb2_dev/files/etc/icingaweb/modules/monitoring/config.ini create mode 100644 .vagrant-puppet/profiles/icingaweb2_dev/files/etc/icingaweb/modules/monitoring/instances.ini diff --git a/.vagrant-puppet/profiles/icingaweb2_dev/files/etc/icingaweb/modules/monitoring/backends.ini b/.vagrant-puppet/profiles/icingaweb2_dev/files/etc/icingaweb/modules/monitoring/backends.ini new file mode 100644 index 000000000..8b305d50c --- /dev/null +++ b/.vagrant-puppet/profiles/icingaweb2_dev/files/etc/icingaweb/modules/monitoring/backends.ini @@ -0,0 +1,18 @@ +[localdb] +type = ido +resource = ido + +[locallive] +disabled = 1 +type = livestatus +resource = livestatus + +[localfile] +disabled = 1 +type = statusdat +resource = statusdat + +;[localfailsafe] +;enabled=false +;type = combo +;backends = localdb, locallive, localfile diff --git a/.vagrant-puppet/profiles/icingaweb2_dev/files/etc/icingaweb/modules/monitoring/config.ini b/.vagrant-puppet/profiles/icingaweb2_dev/files/etc/icingaweb/modules/monitoring/config.ini new file mode 100644 index 000000000..9b69fe86f --- /dev/null +++ b/.vagrant-puppet/profiles/icingaweb2_dev/files/etc/icingaweb/modules/monitoring/config.ini @@ -0,0 +1,2 @@ +[security] +protected_customvars = "*pw*,*pass*,community" diff --git a/.vagrant-puppet/profiles/icingaweb2_dev/files/etc/icingaweb/modules/monitoring/instances.ini b/.vagrant-puppet/profiles/icingaweb2_dev/files/etc/icingaweb/modules/monitoring/instances.ini new file mode 100644 index 000000000..a47b06629 --- /dev/null +++ b/.vagrant-puppet/profiles/icingaweb2_dev/files/etc/icingaweb/modules/monitoring/instances.ini @@ -0,0 +1,2 @@ +[icinga] +path = "/var/run/icinga2/cmd/icinga2.cmd" diff --git a/.vagrant-puppet/profiles/icingaweb2_dev/manifests/init.pp b/.vagrant-puppet/profiles/icingaweb2_dev/manifests/init.pp index 1c9d43d4d..49088c8b7 100644 --- a/.vagrant-puppet/profiles/icingaweb2_dev/manifests/init.pp +++ b/.vagrant-puppet/profiles/icingaweb2_dev/manifests/init.pp @@ -53,5 +53,7 @@ class icingaweb2_dev { replace => false, } - icingaweb2::config::module { [ 'backends', 'config', 'instances' ]: } + icingaweb2::config::module { [ 'backends', 'config', 'instances' ]: + source => 'puppet:///modules/icingaweb2_dev', + } }