aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites/manifests/nav.pp
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/websites/manifests/nav.pp')
-rw-r--r--deployment/websites/manifests/nav.pp12
1 files changed, 6 insertions, 6 deletions
diff --git a/deployment/websites/manifests/nav.pp b/deployment/websites/manifests/nav.pp
index c020f50b..d0a6e295 100644
--- a/deployment/websites/manifests/nav.pp
+++ b/deployment/websites/manifests/nav.pp
@@ -1,14 +1,14 @@
class websites::nav {
include websites::base
$vhost = "nav.$::domain"
- $vhostdir = "$websites::base::webdatadir/$vhost"
+ $vhostdir = "$websites::base::webdatadir/${vhost}"
$git_location = "git://git.$::domain/web/nav"
apache::vhost::base { $vhost:
location => $vhostdir,
}
- apache::vhost::base { "ssl_$vhost":
+ apache::vhost::base { "ssl_${vhost}":
vhost => $vhost,
use_ssl => true,
location => $vhostdir,
@@ -18,10 +18,10 @@ class websites::nav {
source => $git_location,
}
- file { "$vhostdir/var/tmp/cache":
- ensure => directory,
- mode => '0660',
- group => $apache::var::apache_group,
+ file { "${vhostdir}/var/tmp/cache":
+ ensure => directory,
+ mode => '0660',
+ group => $apache::var::apache_group,
require => Git::Snapshot[$vhostdir],
}
}