summaryrefslogtreecommitdiff
path: root/lib/chef/dsl
Commit message (Collapse)AuthorAgeFilesLines
* remove pending reboot check for ↵mwrock/reboot_pendingMatt Wrock2015-09-101-1/+2
| | | | HKLM\SOFTWARE\Microsoft\Updates\UpdateExeVolatile if not on windows 2003
* Rename log.deprecation to log_deprecationJohn Keiser2015-09-012-4/+4
|
* Pass deprecations through formatter instead of logsJohn Keiser2015-09-012-5/+4
|
* Make reboot_pending? look for CBS RebootPendingjhs/fix-reboot_pendingJeremiah Snapp2015-08-111-1/+1
| | | | Ref: https://gallery.technet.microsoft.com/scriptcenter/Get-PendingReboot-Query-bdb79542
* Add current_value_does_not_exist! API, pretty up the outputJohn Keiser2015-07-311-2/+4
|
* Deprecate passing more than 1 argument to create a resourcejk/3634John Keiser2015-07-061-4/+6
|
* Don't accept multiple parameters in recipe DSL (just name)John Keiser2015-07-061-4/+4
|
* Rename Chef::DSL::Recipe::Everything -> FullDSLJohn Keiser2015-06-231-1/+1
|
* Create the `action :name do ... end` syntax for ResourceJohn Keiser2015-06-231-2/+20
|
* Make resource_for_short_name look up the canonical resourcejk/automatic-automatic-nameJohn Keiser2015-06-081-1/+1
|
* Make use_automatic_resource_name automaticJohn Keiser2015-06-081-0/+1
|
* Move method_missing to the bottomJohn Keiser2015-06-021-46/+43
|
* Make resource deprecation warnings once-only; fix recipe DSL tests back upJohn Keiser2015-06-021-0/+1
|
* Narrow resolvers to only look at parts of the map we supportJohn Keiser2015-06-021-11/+0
|
* Merge branch 'master' into namelessNoah Kantrowitz2015-05-291-0/+2
|\
| * include powershell_out in DSL placesLamont Granquist2015-05-291-0/+2
| |
* | Allow nameless resources again to match release semantics.Noah Kantrowitz2015-05-221-2/+2
|/
* Move LWRP class deprecation warning to const_missingJohn Keiser2015-05-131-5/+11
|
* warn -> deprecationJohn Keiser2015-05-131-5/+5
|
* Make explicit "provides" override automaticJohn Keiser2015-05-131-0/+3
|
* Deprecate automatic method_missing and Chef::Resource lookupJohn Keiser2015-05-133-35/+113
| | | | | - Declare all resource DSL as methods on Chef::DSL::Resources - Declare all definition DSL as methods on Chef::DSL::Definitions
* Missing include in powershell dslJay Mundrawala2015-03-201-1/+1
|
* Added PSCredential objectJay Mundrawala2015-03-201-2/+2
|
* Forgot to add powershell dsl fileJay Mundrawala2015-03-201-0/+29
|
* Missing require - causes missing Constant when files are loaded in ↵tyler-ball2015-02-251-0/+1
| | | | unexpected order
* Add comments, fix faulty ||=John Keiser2015-02-171-0/+38
|
* Merge pull request #2758 from chef/mcquin/control_groupSerdar Sutay2015-02-111-1/+1
|\ | | | | Change audit DSL method controls to control_group.
| * Update DSL method name to controls_group.mcquin/control_groupClaire McQuin2015-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update to use control_group. Unify wording along control_group. Unify wording along control_group. Fix typo. Enable audit mode. Update to use control_group syntax. Update for audit DSL changes. Update for audit DSL change.
* | make include_recipe "::foo" use current cookbookLamont Granquist2015-01-201-3/+2
|/ | | | | | | | | | | | | | | | 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.
* Skip 3694 warnings on trivial resource cloningLamont Granquist2015-01-121-31/+11
| | | | | | | Turns the 3694 warning into a debug message if the prior resource is identical to the current resource. Suggestion for opscode/chef-rfc#76 This also moves resource building out to its own class.
* Adding cookbook and recipe information per analytics requesttyler-ball2014-12-171-1/+10
|
* Updating to use audit syntax rather than controltyler-ball2014-12-171-2/+2
|
* Raise error if duplicate controls block given.Claire McQuin2014-12-171-2/+9
|
* Wrap in control block until we get top-level tests working.Claire McQuin2014-12-171-1/+1
|
* Use a central runnerClaire McQuin2014-12-171-3/+1
|
* Add a Chef::Audit::Controls object for 'controls'Claire McQuin2014-12-171-4/+1
|
* Wiring audit event proxy to send events correctly to the audit_reportertyler-ball2014-12-171-0/+2
|
* Preparing for demo - using rspec documentation formatter for output instead ↵tyler-ball2014-12-171-4/+8
| | | | of the proxy
* add rspec/itsClaire McQuin2014-12-171-1/+1
|
* Adding first round of formatter integration - STDOUT doc formattertyler-ball2014-12-171-1/+0
|
* Adding audit mode JSON formattertyler-ball2014-12-171-4/+1
|
* Adding error handling so saving node doesn't prevent us from running audit ↵tyler-ball2014-12-171-1/+1
| | | | mode - decouples converge phase and audit phase more
* Creating our own example group class to simplify adding examples to the spec ↵tyler-ball2014-12-171-29/+5
| | | | runner
* Add setup phase to audit-mode.Claire McQuin2014-12-171-7/+8
|
* First pass at DSL additionstyler-ball2014-12-171-0/+61
|
* First pass at fixing broken notificationstyler-ball2014-12-161-1/+2
| | | | | | Fixing some code I changed unecessarily Removing TODOs which are not necessary
* typo fixes - https://github.com/vlajos/misspell_fixerVeres Lajos2014-11-081-1/+1
|
* Chef-12 RC Provider ResolverLamont Granquist2014-10-241-1/+0
| | | | | makes resource and provider class resolution more dynamic. begins deprecation of Chef::Platform static mapping.
* Merge pull request #2216 from opscode/tball/bsd_package_nameTyler Ball2014-10-171-16/+2
|\ | | | | Notify a resource by the `resource[name]` key it was written as
| * Cleaning up based on review commentstyler-ball2014-10-171-1/+1
| |