aboutsummaryrefslogtreecommitdiff
path: root/lib/puppet
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.
2021-08-17(maint) Fix rubocop errorsJosh Cooper
Took the safest route and disabled cops either globally in .rubocop.yml for just for specific cases in lib/
2020-10-29(MODULES-10852) Fix warnings introduced by Ruby 2.7Luchian Nemes
Ruby 2.7 introduced a warning for checking an Integer against a regular expression because this check always returns nil even though as a string it would respect the given regular expression.
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.
2020-05-06Merge pull request #31 from Bouke/patch-1Gabriel Nagy
Day ranges can only be numeric
2020-05-06(MODULES-8603) Ignore .keep_* filesEwoud Kohl van Wijngaarden
On Gentoo there's always a .keep_<package>-<slot> (e.g., .keep_cronbase-0) file inside the cron directory to ensure it's not removed with rmdir. Since usernames are very unlikely to start with .keep_, we can safely filter out these hidden files.
2020-04-22Day ranges can only be numericBouke Haarsma
2019-06-13(PUP-9697) Updated crontab read path for SolarisSebastian Miclea
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
2018-12-07(MODULES-8306) Port over the crontab filetypes from PuppetEnis Inan
2018-08-23Update readme and descriptionJorie Tappa
2018-08-08Disable Style/PredicateName copJorie Tappa
2018-08-08Disable Lint/EmptyWhen copJorie Tappa
2018-08-08Fix Style/MultilineBlockChain violationJorie Tappa
2018-08-08Fix Style/MultipleComparison cop violationsJorie Tappa
2018-08-08Fix Style/IfInsideElse violationJorie Tappa
2018-08-08Fix Lint/EmptyWhen violationJorie Tappa
2018-08-07Fix Style/GuardClause violations.Jorie Tappa
2018-08-01Fix Lint/EndAlignment violationsJorie Tappa
2018-08-01Fix Lint/AssignmentInCondition violations.Jorie 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