Issue #2896 has been updated by Clay Caviness.
"puppet parser validate" has reallllly limited functionality as it stands, only
really catching missing commas or mismatched braces.
Even obvious errors like `file { '/tmp/foo': ensrue => file, }` pass the
parser, not to mention things like `apricot { "carburetor": freeble =>
"munchkin", }`...
----------------------------------------
Feature #2896: `puppet parser validate` does not check resource parameters
https://projects.puppetlabs.com/issues/2896
Author: Dan Bode
Status: Accepted
Priority: Normal
Assignee:
Category: parser
Target version: 2.7.x
Affected Puppet version: 0.25.1
Keywords:
Branch:
#>puppet --parseonly
does not show an error when parsing:
file{'name': bad_owner => 'invalid'}
This should also work for resource definitions.
my_def($param_a='_UNSET_') {}
my_def{
'my_def_1':
pram_a => 'foo';
}
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.