summaryrefslogtreecommitdiff
path: root/lib/chef/resource/cron_d.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fixed cron_d resource ignoring sensitive propertyAxel Amigo Arnold2020-12-191-0/+1
| | | | Signed-off-by: Axel Amigo <axl89@users.noreply.github.com>
* Apply chefstyle fixes from Infra Client 16Tim Smith2020-07-151-1/+1
| | | | | | | | | This just makes it easier to diff the codebases by backporting some minor cleanup. Layout/EmptyLinesAroundAttributeAccessor Style/ExpandPathArguments Signed-off-by: Tim Smith <tsmith@chef.io>
* Chef-15: Remove copyright dateslcg/remove-copyright-dates-chef-15Lamont Granquist2020-04-131-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Update all our links to use the new docs site formatTim Smith2020-03-311-1/+1
| | | | | | When we migrated to hugo the URLs changed a bit. Nothing ends in .html and we moved all the resources into their own dir. Signed-off-by: Tim Smith <tsmith@chef.io>
* Add introduced fields to cron and cron_dTim Smith2020-01-161-0/+1
| | | | | | | Now that we've merged these new properties we can make sure we have the fields to properly documen them. Signed-off-by: Tim Smith <tsmith@chef.io>
* Added time_out property in cronNimesh-Msys2019-12-131-0/+28
| | | | | | | | | | - Property accepts hash with its options as keys and value as their values - Property also accepts Integer or String value - Minor code drapes - Maintained chefstyle - TBD for AIX platforms Signed-off-by: Nimesh-Msys <nimesh.patni@msystechnologies.com>
* Add more resource examples to the codebaseTim Smith2019-09-161-1/+46
| | | | | | I'm also adding these same examples to the docs. Signed-off-by: Tim Smith <tsmith@chef.io>
* Backport another description from the docs siteTim Smith2019-08-081-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Style/EmptyLiteralLamont Granquist2019-07-051-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fix Layout/EmptyLineAfterGuardClauseLamont Granquist2019-07-021-0/+7
| | | | | | | i like this one, gives visual priority to returns or raises that are buried in the middle of things. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fix Layout/AlignArgumentslcg/new-chefstyleLamont Granquist2019-07-021-38/+38
| | | | | | | | | | | | | | this is using: Layout/AlignArguments: Enabled: true EnforcedStyle: with_fixed_indentation the default style can use really excessive whitespace. on starting lines which are already long, it fully indents across to where the arguments start and then begins the line there. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* more distro constants for "Chef"Marc Chamberland2019-05-231-1/+1
| | | | Signed-off-by: Marc Chamberland <mchamberland@pbsc.com>
* More distro constant applicationsMarc Chamberland2019-05-231-1/+2
| | | | Signed-off-by: Marc Chamberland <mchamberland@pbsc.com>
* This hits the ones that are most frequently required.lcg/require-idempotencyLamont Granquist2019-05-201-1/+1
| | | | | | | | | Stops the kernel from scanning through all the activated gems every time in order to resolve names into pathnames. See rubygems/rubygems#2762 Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fix a bunch of weirdly mangled require linesLamont Granquist2019-05-081-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Convert require to require_relativeLamont Granquist2019-05-081-1/+1
| | | | | | | This gives a speed boost since rubygems does not have to scan through every gem in the gemset in order to find the file. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Updates from the review of #7929Tim Smith2018-11-151-2/+2
| | | | | | Thanks @tyler-ball Signed-off-by: Tim Smith <tsmith@chef.io>
* Improve resource descriptions for documentationTim Smith2018-11-141-8/+8
| | | | | | Mostly cleaning up how we describe name properties, but also copying over some edits that happened on the docs site. Signed-off-by: Tim Smith <tsmith@chef.io>
* Skip more resources and set others to desired state falseresource_descriptionsTim Smith2018-10-301-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Make all Chef 14 preview resources into full resourcesTim Smith2018-10-261-1/+0
| | | | | | These will now load and cookbook resources will not. Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #7588 from chef/crond_errorLamont Granquist2018-08-271-1/+1
|\ | | | | Resolve new_resource error with cron_d resource
| * Resolve new_resource error with cron_d resourcecrond_errorTim Smith2018-08-241-1/+1
| | | | | | | | | | | | new_resource.cookbook needed to be cookbook inside after_created Signed-off-by: Tim Smith <tsmith@chef.io>
* | More description updatesrandom_delayTim Smith2018-08-241-2/+2
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Add missing commaTim Smith2018-08-241-1/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Lazily eval the empty hash default and remove nil typesTim Smith2018-08-241-6/+7
| | | | | | | | | | | | We don't need to specify nil anymore since it's the default now. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Add random_delay property to cron_dTim Smith2018-08-241-0/+4
|/ | | | | | This was released in cron cookbook 6.1. The template already supported it, but the property was missing. Signed-off-by: Tim Smith <tsmith@chef.io>
* Add descriptions and fix chefstyle warningsTim Smith2018-08-131-11/+19
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Add yard commentsTim Smith2018-08-131-0/+12
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Self the callback methodsTim Smith2018-08-131-48/+48
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Add descriptions and update the Chef version to ship inTim Smith2018-08-131-2/+2
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Add cron_d and cron_access resources from the cron cookbookTim Smith2018-08-131-0/+213
Cron_d was the #1 requested resource that we already had written. Everyone uses it and we should ship it. It's not a replacement for the existing cron cookbook, but just a different way of managing cron. If people want to manage the whole file or individual snippets we'll give them the option, just as we've always done by having the core resource and this resource. Signed-off-by: Tim Smith <tsmith@chef.io>