summaryrefslogtreecommitdiff
path: root/lib/chef/provider/cron.rb
Commit message (Collapse)AuthorAgeFilesLines
* Style fix - change single quotes to doublePeter Walz2016-10-181-1/+1
| | | | Signed-off-by: Peter Walz <pnw@umn.edu>
* Remove leading and trailing quotes when reading certain environment variablesPeter Walz2016-10-181-1/+1
| | | | | | | Fixes a side effect of #5127 where if a `cron` resource sets MAILTO, PATH, SHELL, or HOME, it gets updated with every chef-client run. Signed-off-by: Peter Walz <pnw@umn.edu>
* fixing Style/MultilineTernaryOperator copLamont Granquist2016-08-161-2/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Fix handling of empty string values for cron attrstm/empty_cron_attributesThom May2016-07-291-1/+1
| | | | | This is a rebase and clean up of #311 Signed-off-by: Thom May <thom@chef.io>
* autofixing whitespace copsLamont Granquist2016-02-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | 4174 Style/SpaceInsideHashLiteralBraces 1860 Style/SpaceAroundOperators 1336 Style/SpaceInsideBlockBraces 1292 Style/AlignHash 997 Style/SpaceAfterComma 860 Style/SpaceAroundEqualsInParameterDefault 310 Style/EmptyLines 294 Style/IndentationConsistency 267 Style/TrailingWhitespace 238 Style/ExtraSpacing 212 Style/SpaceBeforeBlockBraces 166 Style/MultilineOperationIndentation 144 Style/TrailingBlankLines 120 Style/EmptyLineBetweenDefs 101 Style/IndentationWidth 82 Style/SpaceAroundBlockParameters 40 Style/EmptyLinesAroundMethodBody 29 Style/EmptyLinesAroundAccessModifier 1 Style/RescueEnsureAlignment
* Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g"
* Autofixing Style/PercentLiteralDelimeterslcg/percentliteraldelimetersLamont Granquist2016-01-181-1/+1
| | | | | | See chef/chefstyle#11 for analysis and discussion. We select '{}' since audit of our source code shows that is the most common, and that used to be the dominant learning paradigm (e.g. in ruby 1.9 pickaxe book.
* Use double quotes by defaultThom May2016-01-141-3/+3
| | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* Use unix specific provider for cron on solarisjdm/solaris-cronJay Mundrawala2015-03-241-1/+1
|
* provider_resolver migration from provider_mappingLamont Granquist2015-03-041-0/+2
| | | | | | | | - move macosx providers to dynamic resolution - move windows providers to dynamic resolution - move openbsd/netbsd providers to dynamic resolution - move all cron providers to dynamic resolution - move mdadm to static mapping
* Initial sketch for provider resolverRichard Manyanza2014-10-221-1/+1
|
* Fixes the "cron" resource handling of special strings (e.g. @reboot, @yearly)Sean Clemmer2014-08-181-0/+11
|
* Enabled using special strings in cron. CHEF-2816Juri Timoshin2014-03-201-4/+16
|
* Cron resource accepts a symbol as `weekday`Ryota Arai2014-03-201-1/+11
|
* nil signifies absence of an attribute, which can be used to remove an attributeRanjib Dey2013-11-261-1/+1
|
* Normalize whitespace on all filesSeth Vargo2013-09-261-3/+3
|
* popen4 can yield while child has already died.kaustubh-d2013-08-041-2/+9
|
* abstract cron entry creation and reset @cron_exists on load.kaustubh-d2013-08-041-8/+15
|
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-301-0/+214
The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!