From fd08983d706353030e23c8ee67f28b0ba7ed2f8d Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Mon, 4 Apr 2011 13:59:19 +0000 Subject: add bcd web directory --- modules/bcd/manifests/init.pp | 7 +++++++ modules/bcd/templates/vhost_bcd.conf | 3 +++ 2 files changed, 10 insertions(+) create mode 100644 modules/bcd/templates/vhost_bcd.conf (limited to 'modules/bcd') diff --git a/modules/bcd/manifests/init.pp b/modules/bcd/manifests/init.pp index 3861d9b0..d69a6aa2 100644 --- a/modules/bcd/manifests/init.pp +++ b/modules/bcd/manifests/init.pp @@ -29,4 +29,11 @@ class bcd { } } + + class web inherits base { + apache::vhost_base { "bcd.$domain": + location => "$bcd_home/public_html", + content => template('bcd/vhost_bcd.conf'), + } + } } diff --git a/modules/bcd/templates/vhost_bcd.conf b/modules/bcd/templates/vhost_bcd.conf new file mode 100644 index 00000000..ceedb418 --- /dev/null +++ b/modules/bcd/templates/vhost_bcd.conf @@ -0,0 +1,3 @@ +/public_html> + Options Indexes + -- cgit v1.2.1