diff options
author | varac <varacanero@zeromail.org> | 2013-01-26 22:36:52 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-03-02 21:32:11 +0100 |
commit | 3c86d6a60034f0e82e6ce3e7968db0c711d3d9e0 (patch) | |
tree | 599c70dd83bea0deb2d71d9239920a98876a6655 /manifests/stored_config.pp | |
parent | c0dee4a2393e23b226e123a427898de94b342141 (diff) |
Added $stored_config parameter to disabledisable collection of exported resourcesdisable_storeconfigs
On masterless setups, this module would otherwise complain
Diffstat (limited to 'manifests/stored_config.pp')
-rw-r--r-- | manifests/stored_config.pp | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/manifests/stored_config.pp b/manifests/stored_config.pp new file mode 100644 index 0000000..b04d640 --- /dev/null +++ b/manifests/stored_config.pp @@ -0,0 +1,61 @@ +# collect exported resources when using 'stored_config => true' +class nagios::stored_config { + + Nagios_command <<||>> + Nagios_contactgroup <<||>> + Nagios_contact <<||>> + Nagios_hostdependency <<||>> + Nagios_hostescalation <<||>> + Nagios_hostextinfo <<||>> + Nagios_hostgroup <<||>> + Nagios_host <<||>> + Nagios_servicedependency <<||>> + Nagios_serviceescalation <<||>> + Nagios_servicegroup <<||>> + Nagios_serviceextinfo <<||>> + Nagios_service <<||>> + Nagios_timeperiod <<||>> + + Nagios_command <||> { + notify => Service['nagios'], + } + Nagios_contact <||> { + notify => Service['nagios'], + } + Nagios_contactgroup <||> { + notify => Service['nagios'], + } + Nagios_host <||> { + notify => Service['nagios'], + } + Nagios_hostdependency <||> { + notify => Service['nagios'], + } + Nagios_hostescalation <||> { + notify => Service['nagios'], + } + Nagios_hostextinfo <||> { + notify => Service['nagios'], + } + Nagios_hostgroup <||> { + notify => Service['nagios'], + } + Nagios_service <||> { + notify => Service['nagios'], + } + Nagios_servicegroup <||> { + notify => Service['nagios'], + } + Nagios_servicedependency <||> { + notify => Service['nagios'], + } + Nagios_serviceescalation <||> { + notify => Service['nagios'], + } + Nagios_serviceextinfo <||> { + notify => Service['nagios'], + } + Nagios_timeperiod <||> { + notify => Service['nagios'], + } +} |