Skip to content

Commit

Permalink
Update check_ghostbuster_files.rb to support parameters.recurse = 're…
Browse files Browse the repository at this point in the history
…mote'
  • Loading branch information
batmac authored Aug 21, 2024
1 parent 92c7d72 commit e25df67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet-lint/plugins/check_ghostbuster_files.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def check
query = "resources[title] {
(parameters.source = 'puppet:///modules/#{module_name}/#{dir_name}'
or parameters.source = 'puppet:///modules/#{module_name}/#{dir_name}/')
and parameters.recurse = true
and (parameters.recurse = true or parameters.recurse = 'remote')
and nodes { deactivated is null } }"
return if puppetdb.client.request('', query).data.size > 0

Expand Down

0 comments on commit e25df67

Please sign in to comment.