Mode 400 for monitrc and obligatory puppet headers
authorStephen Gran <steve@lobefin.net>
Mon, 13 Apr 2009 14:41:29 +0000 (15:41 +0100)
committerStephen Gran <steve@lobefin.net>
Mon, 13 Apr 2009 14:41:29 +0000 (15:41 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/monit/files/debianorg
modules/monit/files/default
modules/monit/files/monitrc
modules/monit/files/puppet
modules/monit/manifests/init.pp

index 97dada5..bf1f9be 100644 (file)
@@ -1,2 +1,7 @@
+##
+## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
+## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
+##
+
 set alert samhain-reports@debian.org
 set mail-format { from: monit@debian.org }
index bf72a5a..afacfee 100644 (file)
@@ -1,3 +1,8 @@
+##
+## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
+## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
+##
+
 # Defaults for monit initscript
 # sourced by /etc/init.d/monit
 # installed at /etc/default/monit by maintainer scripts
index 679587e..e18f5b8 100644 (file)
@@ -1,3 +1,7 @@
+##
+## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
+## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
+##
 ###############################################################################
 ## Monit control file
 ###############################################################################
index 5d3e21c..37c728b 100644 (file)
@@ -1,3 +1,7 @@
+##
+## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
+## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
+##
 check process puppetd with pidfile /var/run/puppet/puppetd.pid
     start program = "/etc/init.d/puppet start"
     stop program  = "/etc/init.d/puppet stop"
index 7c85323..5e1ebe0 100644 (file)
@@ -14,7 +14,7 @@ class monit {
           source  => "puppet:///monit/monitrc",
           require => Package["monit"],
           notify  => Exec["monit restart"],
-          mode    => 440
+          mode    => 400
           ;
 
         "/etc/monit/monit.d":