[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
Environment:

Opensource Puppetserver 4.0.0-4.Latest


Template:
Team: Coremunity
QA Risk Assessment: Needs Assessment

 Description   

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



 Comments   
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 Wed Nov 13 11:42:01 PST 2019 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.