aboutsummaryrefslogtreecommitdiff
path: root/manifests/defines/config_file.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/defines/config_file.pp')
-rw-r--r--manifests/defines/config_file.pp11
1 files changed, 7 insertions, 4 deletions
diff --git a/manifests/defines/config_file.pp b/manifests/defines/config_file.pp
index 2272558..375e25c 100644
--- a/manifests/defines/config_file.pp
+++ b/manifests/defines/config_file.pp
@@ -2,6 +2,8 @@
# Copyright (C) 2007 David Schmitt <david@schmitt.edv-bus.at>
# See LICENSE for the full license granted to you.
+# A simple wrapper to give all configuration files common defaults.
+#
# Usage:
# config_file { filename:
# content => "....\n",
@@ -12,10 +14,11 @@
# To create the file /etc/vservers/${vs_name}/context with specific
# content:
#
-# config_file { "/etc/vservers/${vs_name}/context":
-# content => "${context}\n",
-# notify => Exec["vs_restart_${vs_name}"],
-# require => Exec["vs_create_${vs_name}"];
+# config_file {
+# "/etc/vservers/${vs_name}/context":
+# content => "${context}\n",
+# notify => Exec["vs_restart_${vs_name}"],
+# require => Exec["vs_create_${vs_name}"];
# }
#
# To create the file /etc/apache2/sites-available/munin-stats with the