Skip to content

Commit 06c9bdd

Browse files
committed
fix(plan): remove redundant parameters from set_var in add_inventory_hostnames
- Simplify set_var call by removing unnecessary parameters - Ensure certname is set correctly without additional arguments
1 parent d1d5c84 commit 06c9bdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: spec/acceptance/peadm_spec/plans/add_inventory_hostnames.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
$fqdn_results = await(
88
parallelize($t) |$target| {
99
$fqdn = run_command('hostname -f', $target)
10-
$target.set_var('certname', $fqdn.first['stdout'].chomp) { 'uri' => $target.uri, 'certname' => $target.vars['certname'] }
10+
$target.set_var('certname', $fqdn.first['stdout'].chomp)
1111
}
1212
)
1313

0 commit comments

Comments
 (0)