From b222c3187ec6339ec3bb062717f2e59a36d2d9fb Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Mon, 13 Apr 2009 14:11:01 +0100 Subject: [PATCH] So, "Can't find class" is a lie that really means "error compiling class" Signed-off-by: Stephen Gran --- modules/monit/manifests/init.pp | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/modules/monit/manifests/init.pp b/modules/monit/manifests/init.pp index a3b92820e..430d37170 100644 --- a/modules/monit/manifests/init.pp +++ b/modules/monit/manifests/init.pp @@ -1,17 +1,14 @@ 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, @@ -19,27 +16,21 @@ class monit { 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"], -- 2.20.1