diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/bcd/manifests/init.pp | 7 | ||||
-rw-r--r-- | modules/bcd/templates/vhost_bcd.conf | 3 |
2 files changed, 10 insertions, 0 deletions
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 @@ +<Directory <%= bcd_home %>/public_html> + Options Indexes +</Directory> |