Created
October 6, 2008 22:47
-
-
Save loe/15164 to your computer and use it in GitHub Desktop.
This file contains 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
# Lets us trigger monit reloads from other modules | |
# monit_file { "nginx": ensure => present } | |
define monit_file($ensure = 'absent') { | |
file { "/etc/monit.d/${name}.run": | |
owner => "root", | |
group => "root", | |
mode => "0644", | |
replace => true, | |
source => "puppet:///${name}/${name}.run", | |
ensure => $ensure, | |
notify => Service["monit"] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment