aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/manifests/config.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/apache/manifests/config.pp')
-rw-r--r--modules/apache/manifests/config.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/apache/manifests/config.pp b/modules/apache/manifests/config.pp
new file mode 100644
index 00000000..90f0cba6
--- /dev/null
+++ b/modules/apache/manifests/config.pp
@@ -0,0 +1,7 @@
+define apache::config($content) {
+ file { $name:
+ content => $content,
+ require => Package['apache-conf'],
+ notify => Exec['service httpd configtest'],
+ }
+}