Error message: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type class at …
I expected that ‘include foo’ and ‘class { “foo”: …; }’ should result in the same error message if class ‘foo’ does not exist.
For example:
% puppet apply -e 'include notbar' Could not find class notbar at line 1 on node snack.home % puppet apply -e 'class { "notbar": ; }' Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type class at line 1 on node snack.home
Confirmed this problem is in both 2.6.2 and 2.6.3
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
As the 2.7.x line is winding down, I am removing the target at 2.7.x from tickets in the system. The 2.7 line should only receive fixes for major problems (crashes, for instance) or security problems.