aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites/manifests/nav.pp
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-10-19 20:16:53 +0300
committerThomas Backlund <tmb@mageia.org>2015-10-19 20:16:53 +0300
commit814d434eb7e7d8a89dac98b1a60afc10a6980617 (patch)
tree27c7b9409f7be3942ab0a5039bd9349bb4fc09dc /deployment/websites/manifests/nav.pp
parent9b5ad1460988eaa2fa11e0c5585ab7537b15c131 (diff)
downloadpuppet-814d434eb7e7d8a89dac98b1a60afc10a6980617.tar
puppet-814d434eb7e7d8a89dac98b1a60afc10a6980617.tar.gz
puppet-814d434eb7e7d8a89dac98b1a60afc10a6980617.tar.bz2
puppet-814d434eb7e7d8a89dac98b1a60afc10a6980617.tar.xz
puppet-814d434eb7e7d8a89dac98b1a60afc10a6980617.zip
lint fixes for websites
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],
}
}