aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/manifests/vhost/other_app.pp
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-25 13:22:05 +0000
committerMichael Scherer <misc@mageia.org>2012-03-25 13:22:05 +0000
commit2f8b0454ea819d00579bb4b1b26de0b3bd5da7ef (patch)
treeb37f3336e27162dfd05b6b502480ff2657e13c2c /modules/apache/manifests/vhost/other_app.pp
parent45cbc0000bbebd81c9946fbcc04371d85b0ca8fe (diff)
downloadpuppet-2f8b0454ea819d00579bb4b1b26de0b3bd5da7ef.tar
puppet-2f8b0454ea819d00579bb4b1b26de0b3bd5da7ef.tar.gz
puppet-2f8b0454ea819d00579bb4b1b26de0b3bd5da7ef.tar.bz2
puppet-2f8b0454ea819d00579bb4b1b26de0b3bd5da7ef.tar.xz
puppet-2f8b0454ea819d00579bb4b1b26de0b3bd5da7ef.zip
split 2 more vhost class
Diffstat (limited to 'modules/apache/manifests/vhost/other_app.pp')
-rw-r--r--modules/apache/manifests/vhost/other_app.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/apache/manifests/vhost/other_app.pp b/modules/apache/manifests/vhost/other_app.pp
new file mode 100644
index 00000000..69b3ec56
--- /dev/null
+++ b/modules/apache/manifests/vhost/other_app.pp
@@ -0,0 +1,6 @@
+define apache::vhost::other_app($vhost_file) {
+ include apache::base
+ apache::config { "/etc/httpd/conf/vhosts.d/$name.conf":
+ content => template($vhost_file),
+ }
+}