summaryrefslogtreecommitdiff
path: root/lib/chef/recipe.rb
Commit message (Collapse)AuthorAgeFilesLines
* Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-021-2/+2
| | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi"
* Replace all Opscode copyrights with Chef Software.Noah Kantrowitz2016-02-021-1/+1
| | | Created via git ls-files | xargs perl -pi -e "s/(Copyright.*?), Opscode(,)? Inc(\.)?/\\1, Chef Software Inc./gi"
* 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"
* Use double quotes by defaultThom May2016-01-141-12/+12
| | | | | | | 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.
* Route all tags access through Chef::Node#{tags,tag}Jos Backus2015-10-201-3/+3
| | | | | This should avoid node tags not being initialized properly to an empty Array.
* Stop checking for nil hereJos Backus2015-10-201-2/+0
| | | | | node.tags should never be nil, always an Array. node.tags == nil would be a bug.
* Rename Chef::DSL::Recipe::Everything -> FullDSLJohn Keiser2015-06-231-8/+1
|
* Add integration point for ps_credential dslJay Mundrawala2015-03-201-0/+2
|
* make include_recipe "::foo" use current cookbookLamont Granquist2015-01-201-4/+8
| | | | | | | | | | | | | | | | The following code is brittle if you want to fork the cookbook and rename it (which is a best practice when forking cookbooks for internal use): ```ruby if node[:platform_family] == "rhel" include_recipe "mycookbook::_rhel" end ``` In order for cookbooks to be easily renamable they can currently use the syntax `include_recipe "#{cookbook_name}::_rhel"` which is unwieldy. This patch adds `include_recipe "::_rhel"` as syntax sugar to make this easier.
* First pass at DSL additionstyler-ball2014-12-171-0/+2
|
* typo fixes - https://github.com/vlajos/misspell_fixerVeres Lajos2014-11-081-1/+1
|
* Return correct value for tagged? when node[:tags] is nil.Serdar Sutay2014-10-151-0/+2
|
* Remove deprecated @node ivarsjk/remove_deprecated_ivarsJohn Keiser2014-08-271-1/+0
|
* CHEF-5086/COOK-3890: Add reboot_pending? to core DSLBryan McLellan2014-02-271-0/+2
| | | | | | Accessible in recipes and in resources, can be used to detect if Windows needs to reboot to finish a software installation or operating system update.
* Moved Chef::Recipe#tag into the Chef::Node objectPaul Mooring2013-10-041-19/+2
|
* moving registry_helper to dsl classLamont Granquist2012-12-191-2/+2
|
* adding registry helper for recipes+resourcesLamont Granquist2012-12-191-0/+2
|
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-301-0/+133
| | | | The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!
* big refactor of the repo layout. move to a chef gem and a chef-server gem ↵Ezra Zygmuntowicz2008-10-081-127/+0
| | | | all with proper deps
* Fixing searching in recipes to use the RESTful server, instead of the local ↵Adam Jacob2008-10-051-2/+7
| | | | index. Adding debugging
* Only eval the block if one was passedAdam Jacob2008-10-021-1/+1
|
* Refactoring to support a base package class, that package providers can ↵Adam Jacob2008-09-081-1/+1
| | | | inherit from
* Added template support, changed license to Apache v 2Adam Jacob2008-08-161-14/+12
|
* Updating search ticketsAdam Jacob2008-07-281-0/+2
|
* Adding functional search supportAdam Jacob2008-07-101-0/+6
|
* Adding chef-solo command, config examples, Chef::Log class, ↵Adam Jacob2008-04-081-0/+1
| | | | Chef::Log::Formatter, Chef::Compile, and all the tests
* Adding the Params::Validate mixin, refactored Chef::Config to be a ↵Adam Jacob2008-04-071-15/+34
| | | | singleton, Implemented require_recipe
* Adding cookbook support, updating rcov coverageAdam Jacob2008-03-121-4/+4
|
* Added rcov coverage, lots of tests, definitions, node supportAdam Jacob2008-03-101-0/+96