aboutsummaryrefslogtreecommitdiffstats
path: root/modules/dashboard/manifests/init.pp
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-10-20 00:10:50 +0300
committerThomas Backlund <tmb@mageia.org>2015-10-20 00:10:50 +0300
commit6c2a31c7d305bbf436dfb283e1bf619a9fc0f3ac (patch)
treefc53c60a4515598bc77ca4a5e8967b7799f80e3b /modules/dashboard/manifests/init.pp
parent117aa10a3e54a920b6eab675e67f9999e249fe37 (diff)
downloadpuppet-6c2a31c7d305bbf436dfb283e1bf619a9fc0f3ac.tar
puppet-6c2a31c7d305bbf436dfb283e1bf619a9fc0f3ac.tar.gz
puppet-6c2a31c7d305bbf436dfb283e1bf619a9fc0f3ac.tar.bz2
puppet-6c2a31c7d305bbf436dfb283e1bf619a9fc0f3ac.tar.xz
puppet-6c2a31c7d305bbf436dfb283e1bf619a9fc0f3ac.zip
lint fixes for dashboard
Diffstat (limited to 'modules/dashboard/manifests/init.pp')
-rw-r--r--modules/dashboard/manifests/init.pp10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/dashboard/manifests/init.pp b/modules/dashboard/manifests/init.pp
index 6d1d4f8b..c3216cbb 100644
--- a/modules/dashboard/manifests/init.pp
+++ b/modules/dashboard/manifests/init.pp
@@ -1,8 +1,8 @@
class dashboard {
$dashboard_login = 'dashboard'
- $dashboard_home_dir = "/var/lib/$dashboard_login"
- $dashboard_dir = "$dashboard_home_dir/dashboard"
- $dashboard_bindir = "$dashboard_home_dir/bin"
+ $dashboard_home_dir = "/var/lib/${dashboard_login}"
+ $dashboard_dir = "${dashboard_home_dir}/dashboard"
+ $dashboard_bindir = "${dashboard_home_dir}/bin"
$dashboard_wwwdir = "/var/www/vhosts/dashboard.$::domain"
user { $dashboard_login:
@@ -26,7 +26,7 @@ class dashboard {
ensure => directory,
}
- file { "$dashboard_bindir/make_report":
+ file { "${dashboard_bindir}/make_report":
mode => '0755',
content => template('dashboard/make_report'),
}
@@ -36,7 +36,7 @@ class dashboard {
}
cron { 'update dashboard':
- command => "$dashboard_bindir/make_report",
+ command => "${dashboard_bindir}/make_report",
user => $dashboard_login,
hour => '*/2',
minute => '15',