Displaying 1 result from an estimated 1 matches for "nagios_dir".
2007 Nov 21
9
purging exported resources
.../nagios/conf.d/services/${fqdn}_${name}.cfg",
mode => 0644,
owner => nagios,
group => nagios,
content => template("nagios/service.erb"),
}
}
then in the server class I have:
file { [ "${nagios_dir}/conf.d/", "${nagios_dir}/conf.d/hosts",
"${nagios_dir}/conf.d/services" ]:
ensure => directory,
purge => true,
recurse => true,
}
Exporting the resources works fine, collecting them works great as well.
The i...