[PUP-6971] configuration_version undefined on catalog compile failure Created: 2016/12/04  Updated: 2018/11/30

Status: Accepted
Project: Puppet
Component/s: None
Affects Version/s: PUP 4.0.0
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: James powis Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Opensource Puppetserver 4.0.0-4.Latest

Team: Coremunity
QA Risk Assessment: Needs Assessment


When a catalog compile fails the puppet report self.configuration_version is set to undef. This value is used to reference puppetdb reports using custom reporting (such as puppet-hipchat)

Ideally even if the config does not change (due to failure / caching / 0 resources chaged) configuration_version should be generated and rotated for each run regardless of success.

Reference: https://github.com/jamtur01/puppet-hipchat/issues/51

Comment by Henrik Lindberg [ 2016/12/07 ]

Although the description says "compilation fails", this looks like an agent side thing because it involves sending a report.

Comment by James powis [ 2016/12/07 ]

The easiest way to invoke this is to add a fail('foo') into an included manifest.

Generated at Sat Aug 08 22:07:37 PDT 2020 using Jira 8.5.2#805002-sha1:a66f9354b9e12ac788984e5d84669c903a370049.