aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bcd/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bcd/manifests')
-rw-r--r--modules/bcd/manifests/web.pp7
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/bcd/manifests/web.pp b/modules/bcd/manifests/web.pp
index b7fb125a..128af5ea 100644
--- a/modules/bcd/manifests/web.pp
+++ b/modules/bcd/manifests/web.pp
@@ -1,16 +1,15 @@
class bcd::web {
include bcd::base
- # TODO simplify this
- $bcd_home = $bcd::home
+ $location = "$bcd::home/public_html"
apache::vhost_base { "bcd.$::domain":
- location => "$bcd_home/public_html",
+ location => $location,
content => template('bcd/vhost_bcd.conf'),
}
# not sure if that's useful, since the file is public and trivially
# bruteforced
- file { "$bcd_home/htpasswd":
+ file { "$bcd::home/htpasswd":
content => template('bcd/htpasswd')
}
}