Skip to content

Commit 796013f

Browse files
committed
Lints
1 parent 1888551 commit 796013f

12 files changed

Lines changed: 14 additions & 15 deletions

File tree

manifests/aws/puppet.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616
$install_modules.each | $mod | {
1717
psick::puppet::module { $mod:
18-
user => $module_user,
18+
user => $module_user,
1919
}
2020
}
2121
}

manifests/bolt/master.pp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@
6161

6262
if $install_package {
6363
package { 'puppet-bolt':
64-
ensure => $ensure,
64+
ensure => $ensure,
6565
}
6666
}
6767

6868
# Management of the user running bolt
6969
$user_home_dir = $user_home ? {
7070
undef => $psick::bolt::bolt_user ? {
71-
'root' => '/root',
71+
'root' => '/root',
7272
default => "/home/${psick::bolt::bolt_user}",
7373
},
7474
default => $user_home
@@ -91,7 +91,7 @@
9191
}
9292

9393
if ($run_ssh_keygen or $psick::bolt::bolt_user_pub_key)
94-
and $manage_ssh_dir {
94+
and $manage_ssh_dir {
9595
file { "${user_home_dir}/.ssh" :
9696
ensure => $dir_ensure,
9797
mode => '0700',

manifests/bolt/node.pp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@
7777
Ssh_authorized_key <<| tag == "bolt_master_${psick::bolt::master}_${psick::bolt::bolt_user}" |>>
7878
}
7979
if $psick::bolt::keyshare_method == 'static' {
80-
8180
ssh_authorized_key { "bolt_user_${psick::bolt::ssh_user}_rsa-${psick::bolt::master}":
8281
ensure => $ensure,
8382
key => $psick::bolt::bolt_user_pub_key,

manifests/git/clone.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
}
8484
} else {
8585
file { "/etc/cron.d/sync_${cron_safe_path}":
86-
ensure => absent,
86+
ensure => absent,
8787
}
8888
}
8989

manifests/hosts/resource.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
$all_hosts.each |$k,$v| {
2222
host { $k:
23-
* => $v,
23+
* => $v,
2424
}
2525
}
2626
}

manifests/nodejs.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
ensure => $ensure,
8888
}
8989
package { $package_name:
90-
* => $package_defaults + $package_params,
90+
* => $package_defaults + $package_params,
9191
}
9292
}
9393

manifests/puppet.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
$modules.each | $mod | {
5353
psick::puppet::module { $mod:
54-
user => $module_user,
54+
user => $module_user,
5555
}
5656
}
5757
}

manifests/puppet/autosign.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
case $autosign {
2626
'off', default: {
2727
ini_setting { 'puppet_server_autosign_off':
28-
ensure => absent,
28+
ensure => absent,
2929
}
3030
}
3131
'on': {

manifests/puppet/ci.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
if $modules != [] {
5858
$modules.each | $m | {
5959
psick::puppet::module { $m:
60-
user => $modules_user,
60+
user => $modules_user,
6161
}
6262
}
6363
}

manifests/puppet/postrun.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
}
3737
if $command {
3838
ini_setting { 'puppet_postrun_command':
39-
value => $command,
39+
value => $command,
4040
}
4141
}
4242
if $path {

0 commit comments

Comments
 (0)