aboutsummaryrefslogtreecommitdiff
path: root/spec/acceptance
AgeCommit message (Collapse)Author
2021-10-01(MODULES-11197) Update to pdk-templates 2.2.0Gabriel Nagy
Includes REFERENCE.md ToC fixes for MODULES-8183.
2020-08-10(MODULES-7786) Allow leading zeroes for cron paramsDorin Pleava
When applying a cron manigest that contains leading zeroes in a periodic attribute (hour, minute, month, monthday, weekday), puppet will strip down the zeroes even if they are accepted by the system cron. Now puppet will only convert to integer the periodic attributes when validating them, but will not change the input from the manifest.
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(maint) Simplify the confine in the unauthorized users acceptance testEnis Inan
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
2019-01-09(maint) Add more crontab provider testsEnis Inan
This commit adds the following tests to the cron resource: * A test to ensure that the crontab provider writes the crontab file of a new user * A test to ensure that the crontab provider fails to write the crontab file of a nonexistent user * A test to ensure that the crontab provider writes an originally unauthorized user's crontab file _if_ Puppet authorizes them in the middle of the run These tests are part of the crontab provider's specifications and should have been added before.
2018-08-23Clean up newly broken cops since importJorie Tappa
2018-08-23Remove common_utils.rb, all used items were added to spec_helper_acceptance.Jorie Tappa
2018-08-23Fix acceptance testsJorie Tappa
2018-08-21Convert acceptance tests to RspecJorie Tappa
2018-08-09Add common_utils.rbJorie Tappa
2018-08-01Fix Style/RegexpLiteral violationsJorie Tappa
2018-08-01Apply automatic pdk validate fixesJorie Tappa
2018-07-31Initial cron import from puppet 7a4c5f07bdf61a7bc7aa32a50e99489a604eac52Jorie Tappa