From: Stephen Gran Date: Mon, 13 Apr 2009 13:11:01 +0000 (+0100) Subject: So, "Can't find class" is a lie that really means "error compiling X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=b222c3187ec6339ec3bb062717f2e59a36d2d9fb;p=mirror%2Fdsa-puppet.git So, "Can't find class" is a lie that really means "error compiling class" Signed-off-by: Stephen Gran --- 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"],