class monit {
- package { "monit": ensure => installed;
- }
+ package { "monit": ensure => installed }
file {
"/etc/monit/monitrc":
source => "puppet:///monit/monitrc",
require => Package["monit"],
notify => Exec["monit restart"]
- mode => 440,
+ mode => 440
;
- }
- file {
"/etc/monit/monit.d":
ensure => directory,
owner => root,
mode => 750,
purge => true
;
- }
- file {
"/etc/monit/monit.d/01puppet":
source => "puppet:///monit/puppet",
require => Package["monit"],
notify => Exec["monit restart"]
- mode => 440,
+ mode => 440
;
- }
- file {
"/etc/monit/monit.d/00debian.org":
source => "puppet:///monit/debianorg",
require => Package["monit"],
notify => Exec["monit restart"]
- mode => 440,
+ mode => 440
;
- }
- file {
"/etc/default/monit":
source => "puppet:///monit/default",
require => Package["monit"],