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
|
YAML_COMPATIBLE_CHECKS = [:legacy_facts].freeze |
.
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
against a control repo and get results for potentially unused hiera data files.
Workaround
We added
:ghostbuster_hiera_filestoYAML_COMPATIBLE_CHECKSatpuppet-lint/lib/puppet-lint/checks.rb
Line 9 in 5032394