File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 299299 # or other factors.
300300 if getvar(' recovery_opts.puppetdb' ) and $restore_type == ' migration' {
301301 out::message(' # hostcert' )
302- run_command(@(" CMD" /L), $primary_target )
302+ $hostcert = run_command(@(" CMD" /L), $primary_target )
303303 /opt/puppetlabs/bin/puppet config print hostcert
304304 | CMD
305-
305+ out::message( " # hostcert: ${hostcert} . " )
306306 out::message(' # hostprivkey' )
307- run_command(@(" CMD" /L), $primary_target )
307+ $hostprivkey = run_command(@(" CMD" /L), $primary_target )
308308 /opt/puppetlabs/bin/puppet config print hostprivkey
309309 | CMD
310-
310+ out::message( " # hostprivkey: ${hostprivkey} . " )
311311 out::message(' # Importing puppetdb' )
312312 run_command(@(" CMD" /L), $primary_target )
313313 /opt/puppetlabs/bin/puppet-db import \
You can’t perform that action at this time.
0 commit comments