Name: puppet-lint-classes_and_types_beginning_with_digits-check
Owner: Vox Pupuli
Description: A puppet-lint plugin to check for types and class names that begin with digits.
Created: 2015-03-12 17:57:32.0
Updated: 2016-06-22 14:10:48.0
Pushed: 2016-06-22 20:41:54.0
Homepage: null
Size: 15
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A puppet-lint plugin to check for types and class names that begin with digits.
m install puppet-lint-classes_and_types_beginning_with_digits-check
'puppet-lint-classes_and_types_beginning_with_digits-check', :require => false
In the future parser/Puppet 4.0.0 and higher, defined resource types and class names cannot begin with digits.
s 10apache {}
s apache {}
To disable this check, you can add --no-classes_and_types_beginning_with_digits-check
to your puppet-lint command line.
ppet-lint --no-classes_and_types_beginning_with_digits-check path/to/file.pp
Alternatively, if you?re calling puppet-lint via the Rake task, you should insert the following line to your Rakefile
.
etLint.configuration.send('classes_and_types_beginning_with_digits')