Last active
August 29, 2015 14:05
-
-
Save tfhartmann/4324415e303cba99c848 to your computer and use it in GitHub Desktop.
Nagios Puppet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| resources { 'nagios_service': purge => true } | |
| file { | |
| '/etc/nagios/nagios_command.cfg' : ensure => present; | |
| '/etc/nagios/nagios_contact.cfg' : ensure => present; | |
| '/etc/nagios/nagios_contactgroup.cfg' : ensure => present; | |
| '/etc/nagios/nagios_host.cfg' : ensure => present; | |
| '/etc/nagios/nagios_hostgroup.cfg' : ensure => present; | |
| '/etc/nagios/nagios_servicegroup.cfg' : ensure => present; | |
| '/etc/nagios/nagios_service.cfg' : ensure => present; | |
| '/etc/nagios/nagios_servicedependency.cfg': ensure => present; | |
| } | |
| ---------------------------- | |
| Different code base, but also uses resources | |
| resources { 'nagios_host': | |
| purge => true, | |
| } | |
| resources { 'nagios_service': | |
| purge => true, | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment