Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise warning if hiera check is called but disabled #165

Merged
merged 1 commit into from
Mar 12, 2024

Commits on Mar 8, 2024

  1. Raise warning if hiera check is called but disabled

    Previously we got the following output from the `syntax` rake task:
    
    ```terminal
    $ bundle exec rake syntax
    ---> syntax:manifests
    ---> syntax:templates
    ---> syntax:hiera:yaml
    ```
    
    This is a bit misleading because the `syntax:hiera:yaml` task was indeed
    called, but it doesn't do anything because
    `PuppetSyntax.check_hiera_keys` was false. With this commit the output
    changes:
    
    ```terminal
    $ bundle exec rake syntax---> syntax:manifests
    ---> syntax:templates
    ---> syntax:hiera:yaml
    syntax:hiera:yaml was called, but PuppetSyntax.check_hiera_keys is false. hiera syntax won't be checked
    ```
    bastelfreak committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    b9d7b46 View commit details
    Browse the repository at this point in the history