Skip to content

Commit 4b108c2

Browse files
author
Stephen
committed
Cleanup some lint items
1 parent d8df68c commit 4b108c2

File tree

3 files changed

+21
-21
lines changed

3 files changed

+21
-21
lines changed

manifests/agent.pp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,9 @@
239239
}
240240

241241
ini_setting {'puppetagentmaster':
242-
ensure => present,
243-
setting => 'server',
244-
value => $puppet_server,
242+
ensure => present,
243+
setting => 'server',
244+
value => $puppet_server,
245245
}
246246

247247
ini_setting {'puppetagentuse_srv_records':

manifests/master.pp

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -124,23 +124,23 @@
124124

125125
Anchor['puppet::master::begin'] ->
126126
class {'puppet::passenger':
127-
puppet_passenger_port => $puppet_passenger_port,
128-
puppet_docroot => $puppet_docroot,
129-
apache_serveradmin => $apache_serveradmin,
130-
puppet_conf => $::puppet::params::puppet_conf,
131-
puppet_ssldir => $puppet_ssldir,
132-
certname => $certname,
133-
conf_dir => $::puppet::params::confdir,
134-
dns_alt_names => join($dns_alt_names,','),
135-
generate_ssl_certs => $generate_ssl_certs,
127+
puppet_passenger_port => $puppet_passenger_port,
128+
puppet_docroot => $puppet_docroot,
129+
apache_serveradmin => $apache_serveradmin,
130+
puppet_conf => $::puppet::params::puppet_conf,
131+
puppet_ssldir => $puppet_ssldir,
132+
certname => $certname,
133+
conf_dir => $::puppet::params::confdir,
134+
dns_alt_names => join($dns_alt_names,','),
135+
generate_ssl_certs => $generate_ssl_certs,
136136
puppet_passenger_tempdir => $puppet_passenger_tempdir,
137137
} ->
138138
Anchor['puppet::master::end']
139139

140140
service { $puppet_master_service:
141-
ensure => stopped,
142-
enable => false,
143-
require => File[$::puppet::params::puppet_conf],
141+
ensure => stopped,
142+
enable => false,
143+
require => File[$::puppet::params::puppet_conf],
144144
}
145145

146146
if ! defined(File[$::puppet::params::puppet_conf]){
@@ -177,11 +177,11 @@
177177
}
178178

179179
file { $puppet_vardir:
180-
ensure => directory,
181-
owner => $::puppet::params::puppet_user,
182-
group => $::puppet::params::puppet_group,
183-
notify => Service['httpd'],
184-
require => Package[$puppet_master_package]
180+
ensure => directory,
181+
owner => $::puppet::params::puppet_user,
182+
group => $::puppet::params::puppet_group,
183+
notify => Service['httpd'],
184+
require => Package[$puppet_master_package]
185185
}
186186

187187
if $storeconfigs {

manifests/passenger.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
$crt_clean_cmd = "puppet cert clean ${certname}"
7676
# I would have preferred to use puppet cert generate, but it does not
7777
# return the corret exit code on some versions of puppet
78-
$crt_gen_cmd = "puppet certificate --ca-location=local --dns_alt_names=$dns_alt_names generate ${certname}"
78+
$crt_gen_cmd = "puppet certificate --ca-location=local --dns_alt_names=${dns_alt_names} generate ${certname}"
7979
# I am using the sign command here b/c AFAICT, the sign command for certificate
8080
# does not work
8181
$crt_sign_cmd = "puppet cert sign --allow-dns-alt-names ${certname}"

0 commit comments

Comments
 (0)