[PUP-6971] configuration_version undefined on catalog compile failure Created: 2016/12/04 Updated: 2018/11/30
|Affects Version/s:||PUP 4.0.0|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
Opensource Puppetserver 4.0.0-4.Latest
|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.
|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.