We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The site-modules/adhoc/plans/myplan.pp file doesn't pass a basic 'pdk validate' run.
It's expected that control-repo should be able to pass any PDK tests from the main/master branch.
Steps to reproduce the behavior:
Red Hat Enterprise Linux 7.9 pdk-2.6.1.0-1.el7.x86_64 puppet-agent-7.16.0-1.el7.x86_64
root@example:~/a/control-repo$ pdk validate pdk (INFO): Using Ruby 2.7.7 pdk (INFO): Using Puppet 7.22.0 pdk (INFO): Running all available validators... pdk (INFO): Validator 'puppet-epp' skipped for '/home/a/control-repo'. No files matching '["**/*.epp"]' found to validate. pdk (INFO): Validator 'task-name' skipped for '/home/a/control-repo'. No files matching '["tasks/**/*"]' found to validate. pdk (INFO): Validator 'task-metadata-lint' skipped for '/home/a/control-repo'. No files matching '["tasks/*.json"]' found to validate. ┌ [✔] Running metadata validators ... ├── [✔] Checking metadata syntax (metadata.json tasks/*.json). └── [✔] Checking module metadata style (metadata.json). ┌ [✖] Running puppet validators ... ├── [✖] Checking Puppet manifest syntax (**/*.pp). └── [✖] Checking Puppet manifest style (**/*.pp). ┌ [✔] Running ruby validators ... └── [✔] Checking Ruby code style (**/**.rb). ┌ [✔] Running tasks validators ... ├── [✔] Checking task names (tasks/**/*). └── [✔] Checking task metadata style (tasks/*.json). ┌ [✔] Running yaml validators ... └── [✔] Checking YAML syntax (**/*.yaml **/*.yml). pdk (ERROR): puppet-syntax: Could not parse for environment production: Syntax error at 'targets' (site-modules/adhoc/plans/myplan.pp:4:14)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the Bug
The site-modules/adhoc/plans/myplan.pp file doesn't pass a basic 'pdk validate' run.
Expected Behavior
It's expected that control-repo should be able to pass any PDK tests from the main/master branch.
Steps to Reproduce
Steps to reproduce the behavior:
Environment
Red Hat Enterprise Linux 7.9
pdk-2.6.1.0-1.el7.x86_64
puppet-agent-7.16.0-1.el7.x86_64
Additional Context
The text was updated successfully, but these errors were encountered: