Skip to content

Instantly share code, notes, and snippets.

@deanwilson
Created January 23, 2013 15:54
Show Gist options
  • Select an option

  • Save deanwilson/4608532 to your computer and use it in GitHub Desktop.

Select an option

Save deanwilson/4608532 to your computer and use it in GitHub Desktop.
Only resources show lint issue - not resource defaults
$ 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