Resolution: Cannot Reproduce
Affects Version/s: PUP 5.1.0
Fix Version/s: None
Puppet Agent (open source) on Centos 7, Installed using both Yum and puppetlabs/puppet_agent modules.
System managed using r10k and PuppetDB with puppet master server
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux] on the server
QA Risk Assessment:Needs Assessment
After upgrading the puppet version on a puppet server from 5.0.1 to 5.1.0 puppet runs on all nodes referencing that master now fail with the same type of error. Downgrading the server's puppet version back to 5.0.1 results in no errors again.
The bug appear to be related to
ie - the defined(Class['foo']) is what causes the problem. On playing on other nodes, not the puppet master, I see the same error in various different modules, depending on what the node requires. For example, on a webserver node using Apache the line that trips this up is:
I can replicate the exact same error in my own modules using the same code pattern.