Issue #6934 has been updated by Nigel Kersten.

Subject changed from nonexistent classes specified in external node definitions 
to non-fatal method for including classes
Status changed from Needs Decision to Needs More Information

Chuck I'm going to retitle this bug at the general desire.

One thing I do not wish to compromise on is consistent behavior between 
declaring classes in the DSL and in an ENC, so we need to stop talking about 
ENC specifically.

A workaround is to specify such classes in a parameter list, and then attempt 
to include those with a non-fatal function.

I'm still not convinced that this is a valid use case. It's difficult to 
achieve this without significantly compromising consistency across ENCs, 
include and class {... } parameterized class declarations, and that 
inconsistency has been a big problem for the user base.

I need to see more detail on use cases in this ticket before we make a decision.
----------------------------------------
Bug #6934: non-fatal method for including classes
https://projects.puppetlabs.com/issues/6934

Author: Chuck Schweizer
Status: Needs More Information
Priority: Normal
Assignee: Nigel Kersten
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


There are use cases where people wish to attempt to include a given class, but 
not to fail if it cannot be found.

This functionality was accidentally provided by external node classifiers in 
2.6.x and earlier, but has been removed to achieve consistency in class 
declarations between ENCs and the DSL.

It should be simple to copy the include function and replace errors with a log 
message instead.

This probably isn't possible with parameterized classes.


-- 
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.

Reply via email to