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
A file_mode warning which should be generated, is not.
file_mode
Given this sample.pp:
sample.pp
service { 'zero': } file { '/one': mode => '755', notify => Service['zero']; '/two': mode => '755'; }
and
puppet-lint --config /dev/null sample.pp
one would expect file_mode warnings about both mode arguments.
mode
But actually, only the first is warned about:
WARNING: mode should be represented as a 4 digit octal value or symbolic mode on line 7 (check: file_mode)
Something about the line
notify => Service['zero'];
causes the following instance to not generate a lint warning.
$ puppet-lint --version puppet-lint 4.2.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A
file_mode
warning which should be generated, is not.Given this
sample.pp
:and
one would expect
file_mode
warnings about bothmode
arguments.But actually, only the first is warned about:
Something about the line
causes the following instance to not generate a lint warning.
Environment
The text was updated successfully, but these errors were encountered: