forked from rodjek/puppet-lint
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the Bug
The Puppet Ghostbuster hiera files check silently fails to apply to .yaml and .yml files beginning with puppet-lint 4.3.0.
Expected Behavior
In versions of puppet-lint prior to 4.3.0, we can run
$ find . -type f -exec puppet-lint --only-checks ghostbuster_classes,ghostbuster_defines,ghostbuster_facts,ghostbuster_files,ghostbuster_functions,ghostbuster_hiera_files,ghostbuster_templates,ghostbuster_types {} \+
against a control repo and get results for potentially unused hiera data files.
Workaround
We added :ghostbuster_hiera_files to YAML_COMPATIBLE_CHECKS at
puppet-lint/lib/puppet-lint/checks.rb
Line 9 in 5032394
| YAML_COMPATIBLE_CHECKS = [:legacy_facts].freeze |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working