File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 6666 'custom' => peadm::recovery_opts_all() + $restore ,
6767 }
6868
69+ out::message(" restore_type: ${restore_type} " )
70+ out::message(" recovery_opts: ${recovery_opts} " )
6971 $primary_target = peadm::get_targets(getvar('cluster.params.primary_host'), 1)
7072 $replica_target = peadm::get_targets(getvar('cluster.params.replica_host'), 1)
7173 $compiler_targets = peadm::get_targets(getvar('cluster.params.compiler_hosts'))
296298 # TODO: consider adding a heuristic to skip when innappropriate due to size
297299 # or other factors.
298300 if getvar(' recovery_opts.puppetdb' ) and $restore_type == ' migration' {
301+ out::message(' # Importing puppetdb' )
299302 run_command(@(" CMD" /L), $primary_target )
300303 /opt/puppetlabs/bin/puppet-db import \
301304 --cert=$(/opt/puppetlabs/bin/puppet config print hostcert) \
You can’t perform that action at this time.
0 commit comments