Issue #6767 has been updated by Ben Hughes.

Status changed from Unreviewed to Accepted


----------------------------------------
Bug #6767: External nodes ignore missing Classes
https://projects.puppetlabs.com/issues/6767

Author: Marcello de Sousa
Status: Accepted
Priority: Normal
Assignee: 
Category: error reporting
Target version: 
Affected Puppet version: 2.6.6
Keywords: external node classifier class
Branch: 


Puppet completely ignores missing classes for external nodes as you can see 
here:

http://groups.google.com/group/puppet-users/browse_thread/thread/79d8274ec5ad256e?fwc=1

I've tested even with a simple node classifier:
<pre>
    #!/bin/sh
    cat <<"END"
    ---
    parameters:
    puppetmaster: puppet.test.mydomain.local
    classes:
    - ntp
    environment: production
    END
    exit 0
</pre>

This works and apply the changes BUT...
If I rename/delete the class, puppet silently ignores it:
<pre>
(...)
info: Applying configuration version '1300444752'
notice: Finished catalog run in 0.05 seconds
</pre>

Then I've tried the same node without external node classifier:
**vi site.pp**
<pre>
node "mynode" {include ntp}
</pre>

Here I get (as expected) the proper error:
<pre>
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could 
not find class ntp at /etc/puppet/manifests/site.pp:25 on node mynode
</pre>


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