aboutsummaryrefslogtreecommitdiff
path: root/spec/acceptance/tests/resource/cron/should_only_fail_associated_resources_on_file_read_error_spec.rb
AgeCommit message (Collapse)Author
2019-01-09(MODULES-7789) Don't run new tests on older agentsEnis Inan
We only want to run these tests on agents that shipped with PUP-9217's changes. These are any agents newer than 5.5.8 in the 5.y release stream, and any agents newer than 6.0.4 in the 6.y release stream.
2019-01-09(MODULES-7789) Port over the PUP-9217 changesEnis Inan
PUP-9217 introduced the :raise_prefetch_errors option to the ParsedFile provider base class that, when set, will fail any resources associated with a failed prefetch target. Thus, when a file read error does occur, Puppet will fail all of the resources associated with the failed crontab (target). This means that the failed crontab will not be overwritten, thus fixing the issue described in the ticket. For more details, please refer to https://github.com/puppetlabs/puppet/commit/5b0fa987e5b7b27839e424ff16d59c7bf081c73a