File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 }
1616 $install_modules .each | $mod | {
1717 psick::puppet::module { $mod:
18- user => $module_user ,
18+ user => $module_user ,
1919 }
2020 }
2121 }
Original file line number Diff line number Diff line change 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
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' ,
Original file line number Diff line number Diff line change 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 ,
Original file line number Diff line number Diff line change 8383 }
8484 } else {
8585 file { "/etc/cron.d/sync_${cron_safe_path}" :
86- ensure => absent ,
86+ ensure => absent ,
8787 }
8888 }
8989
Original file line number Diff line number Diff line change 2020
2121 $all_hosts .each |$k ,$v | {
2222 host { $k:
23- * => $v ,
23+ * => $v ,
2424 }
2525 }
2626 }
Original file line number Diff line number Diff line change 8787 ensure => $ensure ,
8888 }
8989 package { $package_name:
90- * => $package_defaults + $package_params ,
90+ * => $package_defaults + $package_params ,
9191 }
9292 }
9393
Original file line number Diff line number Diff line change 5151
5252 $modules .each | $mod | {
5353 psick::puppet::module { $mod:
54- user => $module_user ,
54+ user => $module_user ,
5555 }
5656 }
5757 }
Original file line number Diff line number Diff line change 2525 case $autosign {
2626 ' off' , default: {
2727 ini_setting { 'puppet_server_autosign_off' :
28- ensure => absent ,
28+ ensure => absent ,
2929 }
3030 }
3131 ' on' : {
Original file line number Diff line number Diff line change 5757 if $modules != [] {
5858 $modules .each | $m | {
5959 psick::puppet::module { $m:
60- user => $modules_user ,
60+ user => $modules_user ,
6161 }
6262 }
6363 }
Original file line number Diff line number Diff line change 3636 }
3737 if $command {
3838 ini_setting { 'puppet_postrun_command' :
39- value => $command ,
39+ value => $command ,
4040 }
4141 }
4242 if $path {
You can’t perform that action at this time.
0 commit comments