HomePhorge

(maint) Guard preserve_configuration in acceptance
7d6c472027faUnpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

(maint) Guard preserve_configuration in acceptance

It is only useful to attempt to generate a local preserved_config.yml if
you are manually testing and may need to re-run. Automated tools such
as Jenkins have tripped over this step if the logs or layout are
different, and there is no reason to abort a test run for this step.

This commit changes the behavior of the acceptance harness so that it
only preserves the configuration if you are running the manual
'test_and_preserve_hosts' task, or if you have specified you want this
behavior in your local_options.rb. It is also a little more resilient
for failures when preserving the configuration.

Event Timeline

Josh Partlow <joshua.partlow@puppetlabs.com> committed rPU7d6c472027fa: (maint) Guard preserve_configuration in acceptance (authored by Josh Partlow <joshua.partlow@puppetlabs.com>).Aug 7 2014, 2:02 AM