summaryrefslogtreecommitdiff
path: root/lib/chef/dsl
Commit message (Collapse)AuthorAgeFilesLines
...
| * Refactoring ResourceCollection interface to be backwards compatiable, all ↵tyler-ball2014-10-161-2/+1
| | | | | | | | specs continue to pass, removing ResourceSet and ResourceList from consumer knowledge
| * first attempt at refactoring ResourceCollection into two objectstyler-ball2014-10-161-16/+3
| |
* | return whatever the definition returnsLamont Granquist2014-10-161-5/+1
|/ | | | | | | this can allow method chaining so that if you call a definition to create a resource, and the definition takes the time to return the resource as its retval, then you can hang a .not_if off of the definition (or .only_if/.notifies/.subscribes/etc)
* Merge pull request #2041 from nsdavidson/Issues-1689Serdar Sutay2014-10-101-0/+5
|\ | | | | Added exec method to Recipe, addressing Issue 1689
| * Changed exception to ResourceNotFound and printed the passed block nameNolan Davidson2014-09-111-1/+2
| |
| * Added exec method to Recipe, addressing Issue 1689Nolan Davidson2014-09-111-0/+4
| |
* | Refactoring duplicated code into a separate module. Also making CLI options ↵tyler-ball2014-09-291-29/+2
| | | | | | | | more informative
* | In specs, and possibly elsewhere, Chef::DSL::RebootPending can get mixed in ↵Chris Doherty2014-09-101-1/+2
| | | | | | | | without a #node available. Decline to crash in those situations.
* | Move reboot data into run_context. (Dan D. confirms his prior opinions from ↵Chris Doherty2014-09-101-1/+1
| | | | | | | | https://github.com/opscode/chef/pull/1279#discussion-diff-9964101.)
* | First-pass changes for a core reboot resource. Still uses run_state instead ↵Chris Doherty2014-09-101-3/+5
|/ | | | of run_context.
* Add error logging on failure to load secret file.Claire McQuin2014-08-221-3/+13
|
* Clarify encrypted data detection.Claire McQuin2014-08-221-6/+7
|
* Add ::encryptor_keys to versioned encryptor classes.Claire McQuin2014-08-221-27/+3
|
* Enable autodetection of encrypted data bag items.Claire McQuin2014-08-221-4/+62
|
* use raise, not failJordan Evans2014-08-211-1/+1
|
* raise error if multiple constraints are metJordan Evans2014-08-211-5/+14
|
* update comment for value_for_platformJordan Evans2014-08-211-1/+1
|
* use Chef::VersionConstraint, not Gem in value_for_platformJordan Evans2014-08-211-5/+15
|
* initial pass at supporting version constraints in value_for_platformJordan Evans2014-08-211-0/+23
|
* Make sure freebsd_package is captured with the resource name it's declared ↵Serdar Sutay2014-08-131-0/+14
| | | | with in resource collection.
* add shell_out mixins to recipe DSLLamont Granquist2014-07-281-0/+1
|
* Make it possible to include Chef::Provider / Chef::ResourceJohn Keiser2014-04-241-1/+4
| | | | without circular dependencies or missing deps
* CHEF-5086/COOK-3890: Add reboot_pending? to core DSLBryan McLellan2014-02-271-0/+61
| | | | | | 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.
* Remove default implementation of Recipe DSL interfacedanielsdeleo2014-02-191-14/+0
| | | | | Depending on the inheritance tree, the default implementations could incorrectly be preferred to the real ones.
* Move method call to resource.load_prior_resource to fix CHEF-5052 resource ↵Jon Cowie2014-02-191-2/+3
| | | | merge issues
* Localize rescues in Recipe method_missing DSLdanielsdeleo2014-02-071-5/+7
|
* Better specify what happens for NoMethodErrors in the DSLdanielsdeleo2014-02-031-2/+23
|
* Expose resource creation via more static methodsdanielsdeleo2014-02-031-38/+98
|
* Normalize whitespace on all filesSeth Vargo2013-09-261-2/+2
|
* [CHEF-3783] Make deprecated constants availabledanielsdeleo2013-01-235-1/+20
| | | | | | * Make deprecated constants in Chef::Mixin available by loading the relevant files from the chef/dsl files that replace them. * Add deprecation warnings via const_missing hook.
* Merge branch '10-stable' into integrate-chef-10-18-0danielsdeleo2013-01-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .gitattributes chef-expander/Rakefile chef-expander/lib/chef/expander/version.rb chef-server-api/Rakefile chef-server-api/chef-server-api.gemspec chef-server-api/lib/chef-server-api/version.rb chef-server-webui/Rakefile chef-server-webui/chef-server-webui.gemspec chef-server-webui/lib/chef-server-webui/version.rb chef-server/Rakefile chef-server/lib/chef-server/version.rb chef-solr/lib/chef/solr/version.rb chef.gemspec chef/Rakefile chef/spec/support/platform_helpers.rb chef/spec/support/shared/functional/file_resource.rb chef/spec/unit/api_client_spec.rb chef/spec/unit/provider/directory_spec.rb ci/jenkins_run_tests.bat ci/jenkins_run_tests.sh distro/common/html/chef-client.8.html distro/common/html/chef-expander.8.html distro/common/html/chef-expanderctl.8.html distro/common/html/chef-server-webui.8.html distro/common/html/chef-server.8.html distro/common/html/chef-shell.1.html distro/common/html/chef-solo.8.html distro/common/html/chef-solr.8.html distro/common/html/knife-bootstrap.1.html distro/common/html/knife-client.1.html distro/common/html/knife-configure.1.html distro/common/html/knife-cookbook-site.1.html distro/common/html/knife-cookbook.1.html distro/common/html/knife-data-bag.1.html distro/common/html/knife-environment.1.html distro/common/html/knife-exec.1.html distro/common/html/knife-index.1.html distro/common/html/knife-node.1.html distro/common/html/knife-role.1.html distro/common/html/knife-search.1.html distro/common/html/knife-ssh.1.html distro/common/html/knife-status.1.html distro/common/html/knife-tag.1.html distro/common/html/knife.1.html distro/common/man/man1/chef-shell.1 distro/common/man/man1/knife-bootstrap.1 distro/common/man/man1/knife-client.1 distro/common/man/man1/knife-configure.1 distro/common/man/man1/knife-cookbook-site.1 distro/common/man/man1/knife-cookbook.1 distro/common/man/man1/knife-data-bag.1 distro/common/man/man1/knife-environment.1 distro/common/man/man1/knife-exec.1 distro/common/man/man1/knife-index.1 distro/common/man/man1/knife-node.1 distro/common/man/man1/knife-role.1 distro/common/man/man1/knife-search.1 distro/common/man/man1/knife-ssh.1 distro/common/man/man1/knife-status.1 distro/common/man/man1/knife-tag.1 distro/common/man/man1/knife.1 distro/common/man/man8/chef-client.8 distro/common/man/man8/chef-expander.8 distro/common/man/man8/chef-expanderctl.8 distro/common/man/man8/chef-server-webui.8 distro/common/man/man8/chef-server.8 distro/common/man/man8/chef-solo.8 distro/common/man/man8/chef-solr.8 lib/chef/api_client.rb lib/chef/rest.rb lib/chef/version.rb spec/functional/knife/ssh_spec.rb spec/functional/resource/cookbook_file_spec.rb spec/spec_helper.rb spec/stress/win32/security_spec.rb spec/support/shared/functional/securable_resource.rb spec/unit/config_spec.rb spec/unit/knife/ssh_spec.rb
* Correcting the author and copyright informationPrajaktaPurohit2012-12-191-3/+3
|
* Adding tests for the registry dsl and some minor fixesPrajaktaPurohit2012-12-191-2/+2
|
* moving registry_helper to dsl classLamont Granquist2012-12-191-0/+59
|
* [CHEF-3499] use Enumerable#any?; don't reimplementdanielsdeleo2012-11-021-4/+2
|
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-305-0/+467
The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!