Created
January 23, 2013 15:54
-
-
Save deanwilson/4608532 to your computer and use it in GitHub Desktop.
Only resources show lint issue - not resource defaults
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ cat foo.pp | |
| class foo { | |
| File { | |
| mode => 544, | |
| } | |
| file { '/tmp/foo': | |
| mode => 544, | |
| } | |
| } | |
| $ puppet-lint foo.pp | |
| WARNING: mode should be represented as a 4 digit octal value or symbolic mode on line 8 | |
| WARNING: unquoted file mode on line 8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment