Skip to content

YAML-compatible-checks masks Ghostbuster plugin #244

Open
@puppetjoy

Description

@puppetjoy

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
.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions