]> gitweb.fluxo.info Git - puppet-common.git/commitdiff
added more comments and checksum=>md5
authordavid <david@f03ff2f1-f02d-0410-970d-b9634babeaa1>
Mon, 25 Jun 2007 07:53:07 +0000 (07:53 +0000)
committerdavid <david@f03ff2f1-f02d-0410-970d-b9634babeaa1>
Mon, 25 Jun 2007 07:53:07 +0000 (07:53 +0000)
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@56 f03ff2f1-f02d-0410-970d-b9634babeaa1

manifests/defines/config_file.pp

index bee188c19e4002630f40c57e24f77dbf9110e695..44338781527be3e72d8dee84f9018c99b308e697 100644 (file)
@@ -8,8 +8,13 @@
 # }
 define config_file ($content) {
        file { $name:
-               content => $content, backup => server,
+               content => $content,
+               # keep old versions on the server
+               backup => server,
+               # default permissions for config files
                mode => 0644, owner => root, group => root,
+               # really detect changes to this file
+               checksum => md5,
        }
 }