Skip to content

Commit b33a511

Browse files
committed
Add full path to puppet command
It is not guaranteed to be in path
1 parent d8e439a commit b33a511

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plans/add_replica.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
$dns_alt_names = [$replica_target.peadm::certname()] + (pick($certdata['dns-alt-names'], []) - $certdata['certname'])
3636

3737
# This has the effect of revoking the node's certificate, if it exists
38-
run_command("puppet infrastructure forget ${replica_target.peadm::certname()}", $primary_target, _catch_errors => true)
38+
run_command("/opt/puppetlabs/bin/puppet infrastructure forget ${replica_target.peadm::certname()}", $primary_target, _catch_errors => true)
3939

4040
run_plan('peadm::subplans::component_install', $replica_target,
4141
primary_host => $primary_target,

0 commit comments

Comments
 (0)