Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
usually top scope variables are not referenced using their qualified
global name, but in this case it's reasonable as the local scope
variable should default to the top scope variable with the same name
  • Loading branch information
Lightning- committed Feb 21, 2024
1 parent f812e35 commit 77e4040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
Boolean $debug,
Boolean $searchpath_merge,
Array $searchpath,
Array $foreman_interfaces = $foreman_interfaces,
Array $foreman_interfaces = $::foreman_interfaces,
Array $foreman_searchpath = [$domainname], # lint:ignore:variable_scope foreman injected top scope variable
) {
include 'network'
Expand Down

0 comments on commit 77e4040

Please sign in to comment.