projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5056b9
)
Make /etc/monit always there
author
Stephen Gran
<steve@lobefin.net>
Mon, 13 Apr 2009 14:28:02 +0000
(15:28 +0100)
committer
Stephen Gran
<steve@lobefin.net>
Mon, 13 Apr 2009 14:28:02 +0000
(15:28 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/monit/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/monit/manifests/init.pp
b/modules/monit/manifests/init.pp
index
b4bf73e
..
7c85323
100644
(file)
--- a/
modules/monit/manifests/init.pp
+++ b/
modules/monit/manifests/init.pp
@@
-2,6
+2,14
@@
class monit {
package { "monit": ensure => installed }
file {
+ "/etc/monit/":
+ ensure => directory,
+ owner => root,
+ group => root,
+ mode => 755,
+ purge => true
+ ;
+
"/etc/monit/monitrc":
source => "puppet:///monit/monitrc",
require => Package["monit"],