Skip to content
This repository was archived by the owner on Mar 28, 2019. It is now read-only.

Commit f685b73

Browse files
committed
trivial puppet-lint fixes
1 parent ba60f7a commit f685b73

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

manifests/dashboard.pp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
$db_host = 'localhost',
2626
$db_name = 'puppet_dashboard',
2727
$manage_db = true,
28-
$site = "dashboard.${domain}",
28+
$site = "dashboard.${::domain}",
2929
$allowip = ''
3030
) {
3131

3232
include ruby::dev
3333

34-
$allow_all_ips = "${allowip},${ipaddress}"
34+
$allow_all_ips = "${allowip},${::ipaddress}"
3535
$approot = '/usr/share/puppet-dashboard'
3636
$dashboard_site = $site
3737

@@ -64,7 +64,7 @@
6464

6565
if $manage_db {
6666
# FIXME THIS IS NOT COMPATIBLE WITH THE NEW MYSQL MODULE
67-
mysql::db { "dashboard_production":
67+
mysql::db { 'dashboard_production':
6868
db_user => $db_user,
6969
db_pw => $db_pw;
7070
}
@@ -97,9 +97,9 @@
9797
"${approot}/public/stylesheets",
9898
"${approot}/public/javascript"
9999
]:
100-
mode => 0755,
101-
owner => 'www-data',
102-
group => 'www-data',
100+
mode => '0755',
101+
owner => 'www-data',
102+
group => 'www-data',
103103
require => Package['puppet-dashboard'],
104104
}
105105
}

manifests/reports.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
class puppet::reports {
2-
$report_dir = $puppet_major_version ? {
2+
$report_dir = $::puppet_major_version ? {
33
'3' => '/usr/lib/ruby/vendor_ruby/puppet/reports',
44
'2' => '/usr/lib/ruby/1.8/puppet/reports',
55
}

0 commit comments

Comments
 (0)