Issue #20077 has been reported by James Patterson.
----------------------------------------
Bug #20077: Could not find declared class
https://projects.puppetlabs.com/issues/20077
* Author: James Patterson
* Status: Unreviewed
* Priority: Normal
* Assignee:
* Category:
* Target version:
* Affected Puppet version: 3.1.1
* Keywords:
* Branch:
----------------------------------------
We sometimes see the error below on the puppet master and the puppet node under
the following circumstances:
* We have edited a class on the puppet master
* We restart puppet on a puppet node very shortly after
The error is:
Puppet::Parser::AST::Resource failed with error ArgumentError: Could not
find declared class XXX at /etc/puppet/manifests/node/NODENAME.pp on node
NODENAME
Where XXX is a class name that exists.
Important is that the XXX class name is not the class we have just edited: it's
like the editing of the class is causing some kind of re-read of all classes by
the puppet module, and that during the re-read these errors are returned. i.e.
a race condition.
Re-starting puppet on the puppet node a second time will work fine, and not
show any errors.
Puppet 3.1.1. Reporting here in case this a dupe. Will attach logs if not a
dupe, just let me know what you need.
--
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.