aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authordavid <david@f03ff2f1-f02d-0410-970d-b9634babeaa1>2007-06-25 07:53:07 +0000
committerdavid <david@f03ff2f1-f02d-0410-970d-b9634babeaa1>2007-06-25 07:53:07 +0000
commit90380031347292ee5ddcea2cd43d6117accdc7bb (patch)
tree616d6d5a7bd723bb2801df9fa8878e8860854912 /manifests
parentf0578731d37819fc679bdc0bd62a445350825b31 (diff)
downloadpuppet-common-90380031347292ee5ddcea2cd43d6117accdc7bb.tar.gz
puppet-common-90380031347292ee5ddcea2cd43d6117accdc7bb.tar.bz2
added more comments and checksum=>md5
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@56 f03ff2f1-f02d-0410-970d-b9634babeaa1
Diffstat (limited to 'manifests')
-rw-r--r--manifests/defines/config_file.pp7
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/defines/config_file.pp b/manifests/defines/config_file.pp
index bee188c..4433878 100644
--- a/manifests/defines/config_file.pp
+++ b/manifests/defines/config_file.pp
@@ -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,
}
}