File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1414
1515 String $ssh_user = ' root' ,
1616 String $ssh_group = ' root' ,
17+ String $ssh_key_type = ' rsa' ,
1718
1819 String $master = ' ' , # lint:ignore:params_empty_string_assignment
1920 Enum[' storeconfigs' ,' static' ] $keyshare_method = ' storeconfigs' ,
Original file line number Diff line number Diff line change 118118 ensure => $ensure ,
119119 key => pick($psick::bolt::bolt_user_pub_key ,getvar(' facts.bolt_user_key' )),
120120 user => $psick::bolt::ssh_user ,
121- type => ' rsa ' ,
121+ type => $psick::bolt::ssh_key_type ,
122122 tag => " bolt_master_${psick::bolt::master} _${psick::bolt::bolt_user} " ,
123123 options => $psick::bolt::ssh_auth_key_options ,
124124 }
Original file line number Diff line number Diff line change 7878 }
7979 if $psick::bolt::keyshare_method == ' static' {
8080
81- ssh_authorized_key { "bolt_user_${psick::bolt::ssh_user}_rsa-${psick::bolt::bolt_user_pub_key }" :
81+ ssh_authorized_key { "bolt_user_${psick::bolt::ssh_user}_rsa-${psick::bolt::master }" :
8282 ensure => $ensure ,
8383 key => $psick::bolt::bolt_user_pub_key ,
8484 user => $psick::bolt::ssh_user ,
85- type => ' rsa ' ,
85+ type => $psick::bolt::ssh_key_type ,
8686 options => $psick::bolt::ssh_auth_key_options ,
8787 }
8888 }
You can’t perform that action at this time.
0 commit comments