We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d63a8a6 commit 11c3619Copy full SHA for 11c3619
plans/restore.pp
@@ -298,6 +298,16 @@
298
# TODO: consider adding a heuristic to skip when innappropriate due to size
299
# or other factors.
300
if getvar('recovery_opts.puppetdb') and $restore_type == 'migration' {
301
+ out::message('# hostcert')
302
+ run_command(@("CMD"/L), $primary_target)
303
+ /opt/puppetlabs/bin/puppet config print hostcert
304
+ | CMD
305
+
306
+ out::message('# hostprivkey')
307
308
+ /opt/puppetlabs/bin/puppet config print hostprivkey
309
310
311
out::message('# Importing puppetdb')
312
run_command(@("CMD"/L), $primary_target)
313
/opt/puppetlabs/bin/puppet-db import \
0 commit comments