summaryrefslogtreecommitdiff
path: root/manifests/config/global.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-01-30 17:09:34 +0100
committermh <mh@immerda.ch>2010-01-30 17:09:34 +0100
commit7aafb4dbfe33f19d0a2a82d5bab79d77deb27853 (patch)
tree9140ab7df68e205dc92037d5180daead7d871242 /manifests/config/global.pp
parent42ca80476bcdb1da0e5e516d08a9b06ec32c6f26 (diff)
parent550fa2b0a405e9bda6e2d82a1e423396a7ffdaa8 (diff)
merged with lavamind
Diffstat (limited to 'manifests/config/global.pp')
-rw-r--r--manifests/config/global.pp16
1 files changed, 16 insertions, 0 deletions
diff --git a/manifests/config/global.pp b/manifests/config/global.pp
new file mode 100644
index 0000000..5bb075b
--- /dev/null
+++ b/manifests/config/global.pp
@@ -0,0 +1,16 @@
+# deploy apache configuration file (global)
+# wrapper for apache::config::file
+define apache::config::global(
+ $ensure = present,
+ $source = 'absent',
+ $content = 'absent',
+ $destination = 'absent'
+){
+ apache::config::file { "${name}":
+ ensure => $ensure,
+ type => 'global',
+ source => $source,
+ content => $content,
+ destination => $destination,
+ }
+}