Skip to content

Commit 3a62166

Browse files
ekohlehelms
authored andcommitted
Fix top_scope_facts lint violation
This is not a fact, but rather a global variable. Using getvar is the right way here, like all other variables in this file.
1 parent 712861d commit 3a62166

File tree

1 file changed

+1
-1
lines changed
  • manifests/plugin/remote_execution/ssh_user

1 file changed

+1
-1
lines changed

manifests/plugin/remote_execution/ssh_user/params.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
$effective_user_method = pick(getvar('remote_execution_effective_user_method'),'sudo')
1414

1515
$ssh_keys = getvar('remote_execution_ssh_keys') ? {
16-
Array => $::remote_execution_ssh_keys,
16+
Array => getvar('remote_execution_ssh_keys'),
1717
default => [],
1818
}
1919
}

0 commit comments

Comments
 (0)