diff options
author | varac <varacanero@zeromail.org> | 2016-03-09 17:25:18 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-03-09 17:25:18 +0100 |
commit | 4081c66952614743b60b5031791cb43d23d48fa1 (patch) | |
tree | 48a1ec3e7f82e51e906d50fbc4cc60b8d466dc9c /manifests/storeconfigs.pp | |
parent | 53e2db13e5082f09fcee7d34ed83b3dfaef06e52 (diff) | |
parent | bad75052820f221df575a1942417712e35ab1af7 (diff) |
Merge remote-tracking branch 'shared/master' into leap_master
Diffstat (limited to 'manifests/storeconfigs.pp')
-rw-r--r-- | manifests/storeconfigs.pp | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/manifests/storeconfigs.pp b/manifests/storeconfigs.pp new file mode 100644 index 0000000..96c30dd --- /dev/null +++ b/manifests/storeconfigs.pp @@ -0,0 +1,61 @@ +# collect exported resources when using 'storeconfigs => true' +class nagios::storeconfigs { + + 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'], + } +} |