aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
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,
}
}