summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update certsjdm/update-certsJay Mundrawala2015-07-011-56/+53
|
* Merge pull request #3591 from DeWaRs1206/masterThom May2015-07-012-4/+5
|\ | | | | Use Mixlib::Shellout instead of Chef::Mixin::Command
| * fix typoDeWaRs12062015-06-292-2/+0
| |
| * Merge branch 'master' of https://github.com/DeWaRs1206/chefDeWaRs12062015-06-290-0/+0
| |\
| | * fix solo_spec according previous changeEmmanuel Iturbide2015-06-262-4/+6
| | |
| * | fix solo_spec according previous changeEmmanuel Iturbide2015-06-292-4/+6
| |/
| * Use Mixlib::Shellout instead of Chef::Mixin::CommandDeWaRs12062015-06-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using C:\Users\Administrator>chef-solo -i 30 -s 5 -c C:/monsoon/solo.rb -j http://foo-bar/get-run -r http://foo-bar.com/cookbooks.tar.gz failled with error : [2015-06-25T15:01:52+02:00] DEBUG: ---- End output of tar zxvf C:/chef/recipes.t gz -C C:/chef ---- C:/opscode/chef/embedded/apps/chef/lib/chef/mixin/command.rb:140:in `block in ou tput_of_command': undefined method `exitstatus' for nil:NilClass (NoMethodError) from C:/opscode/chef/embedded/apps/chef/lib/chef/mixin/command.rb:122:in `chdir' from C:/opscode/chef/embedded/apps/chef/lib/chef/mixin/command.rb:122:in `output_of_command' from C:/opscode/chef/embedded/apps/chef/lib/chef/mixin/command.rb:101:in `run_command_and_return_stdout_stderr' from C:/opscode/chef/embedded/apps/chef/lib/chef/mixin/command.rb:79:in `run_command' from C:/opscode/chef/embedded/apps/chef/lib/chef/application/solo.rb:217 :in `reconfigure' from C:/opscode/chef/embedded/apps/chef/lib/chef/application.rb:58:in `r un' from C:/opscode/chef/embedded/apps/chef/bin/chef-solo:25:in `<top (requi red)>' from C:/opscode/chef/bin/chef-solo:63:in `load' from C:/opscode/chef/bin/chef-solo:63:in `<main>' using Mixlib::ShellOut instead of Chef::Mixin::Command solved the issue
* | Merge pull request #3608 from chef/adamedx/powershell_script_spec_renameTyler Ball2015-06-303-0/+0
|\ \ | | | | | | Rename powershell spec files to match Ruby conventions
| * | Rename powershell spec files to match Ruby conventionsadamedx/powershell_script_spec_renameadamedx2015-06-273-0/+0
| | |
* | | Update comment about how action could be a non-array. [ci skip]Noah Kantrowitz2015-06-301-1/+3
| | |
* | | Merge pull request #3612 from chef/mcquin/chef-config/workstation-config-loaderClaire McQuin2015-06-306-175/+202
|\ \ \ | | | | | | | | Move WorkstationConfigLoader into chef-config
| * | | Move workstation_config_loader into chef-configmcquin/chef-config/workstation-config-loaderClaire McQuin2015-06-296-175/+202
| | | |
* | | | Merge branch 'jk/call_provides_when_resolving'John Keiser2015-06-3024-372/+676
|\ \ \ \
| * | | | Make provider resolution tests less invasive (don't actually instantiate the ↵jk/call_provides_when_resolvingJohn Keiser2015-06-304-16/+22
| | | | | | | | | | | | | | | | | | | | provider)
| * | | | Code review commentsJohn Keiser2015-06-303-8/+6
| | | | |
| * | | | Test resources as well as providers for all resolversJohn Keiser2015-06-301-107/+111
| | | | |
| * | | | Make ProviderResolver tests work, fix resources to resolve correctly as well ↵John Keiser2015-06-3010-53/+73
| | | | | | | | | | | | | | | | | | | | as providers
| * | | | Optimize logic on class initialize so it doesn't fall into theJohn Keiser2015-06-305-55/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "look at all classes to see if they provide the DSL" else clause when you're just setting resource_name (which happens on every class). Perf fix for tests.
| * | | | Make specs marked ":provider" run againJohn Keiser2015-06-302-15/+19
| | | | |
| * | | | Fix broken specsJohn Keiser2015-06-302-21/+24
| | | | |
| * | | | Rename NoProviderAvailable to ProviderNotFound, add aliasJohn Keiser2015-06-305-11/+10
| | | | |
| * | | | Call provides? when resolving, reduce number of calls to provides?John Keiser2015-06-306-165/+410
|/ / / / | | | | | | | | | | | | in Provider
* | | | Merge branch '3618-run-list-mutation-issue'danielsdeleo2015-06-302-53/+121
|\ \ \ \
| * | | | Don't mutate recipe name string in versioned_recipe_listdanielsdeleo2015-06-302-7/+6
| | | | | | | | | | | | | | | | | | | | fixes #3618
| * | | | Add test coverage versioned_recipe_list, repro #3618danielsdeleo2015-06-301-0/+66
| | | | |
| * | | | Modernize versioned recipe list specsdanielsdeleo2015-06-301-48/+51
|/ / / /
* | | | Update CHANGELOGKartik Null Cating-Subramanian2015-06-301-0/+1
| | | |
* | | | Use windows paths without case-sensitivity.ksubrama/path_spaceKartik Null Cating-Subramanian2015-06-306-91/+247
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #1684 Add tests for path manipulation in chef-fs. Clean up the handling of paths in chef-fs.
* | | | Merge pull request #3603 from chef/jdm/lwrp-baseJay Mundrawala2015-06-303-61/+59
|\ \ \ \ | | | | | | | | | | Fix ability to monkey match LWRP through Chef::Resource::MyLwrp
| * | | | Use const_set instead of evaljdm/lwrp-baseJay Mundrawala2015-06-301-1/+1
| | | | |
| * | | | Added spec for #3607Jay Mundrawala2015-06-301-0/+10
| | | | |
| * | | | Get tests passingJay Mundrawala2015-06-301-0/+15
| | | | |
| * | | | Fix ability to monkey match LWRP through Chef::Resource::MyLwrpJay Mundrawala2015-06-302-61/+34
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Repro ===== The following cookbook would repro the issue cookbooks/lwrptest/resources/my_lwrp.rb --------------------------------------- ```ruby ``` cookbooks/lwrptest/providers/my_lwrp.rb --------------------------------------- ```ruby ``` cookbooks/lwrptest/recipes/default.rb ------------------------------------- ```ruby module Something def something puts 'something here' end end ::Chef::Resource::LwrptestMyLwrp.send(:include, Something) lwrptest_my_lwrp 'blah' do something end ``` Why it does not work ==================== Running this in 12.4.0 produces the error ``` NoMethodError ------------- undefined method `something' for LWRP resource lwrptest_my_lwrp from cookbook lwrptest ``` The problem is that LWRP usage through `Chef::Resource::MyLwrp` and `Chef::Provider::MyLwrp` is depreacted. In order to participate in the deprecation, `Chef::Resource::MyLwrp` is a subclass of the actual `MyLwrp` class with `initialize` overriden to do a Chef::Log.deprecation. In the example above, the intention is to add a method to the resource so that it can be used from the dsl. The reason this does not work is because including the method on `Chef::Resource::MyLwrp` adds the method to the subclass, and the resource that is looked up when running the recipe is the actual resource.
* | | | Merge pull request #3605 from coderanger/actionThom May2015-06-3026-51/+131
|\ \ \ \ | |/ / / |/| | | Rework Resource#action to match the 12.3 API.
| * | | Test updates for the changes to default actions.Noah Kantrowitz2015-06-2919-24/+24
| | | |
| * | | Make resource-based guard interpreters cope with arrays.Noah Kantrowitz2015-06-291-1/+2
| | | | | | | | | | | | Ping @adamedx for confirmation.
| * | | Add a test for array assignment on action.Noah Kantrowitz2015-06-291-0/+5
| | | |
| * | | Tests for new default_action behaviors.Noah Kantrowitz2015-06-291-0/+39
| | | |
| * | | Be paranoid about potential weird overrides of default_action.Noah Kantrowitz2015-06-291-1/+1
| | | | | | | | | | | | Always compare them as arrays, just in case.
| * | | Handle setting default action with the same coercion logic as action.Noah Kantrowitz2015-06-291-9/+4
| | | | | | | | | | | | | | | | This coerces default_action(:one) so action() == [:one]. Also update doctoring to match behavior.
| * | | Get tests passingJay Mundrawala2015-06-292-2/+2
| | | |
| * | | Fix ancillary tests.Noah Kantrowitz2015-06-294-6/+6
| | | |
| * | | Make sure the default case gives an array too.Noah Kantrowitz2015-06-292-1/+5
| | | |
| * | | Rework Resource#action to match the 12.3 API.Noah Kantrowitz2015-06-292-8/+44
|/ / / | | | | | | | | | | | | | | | | | | This means it always coerces to an Array. Also ensures that Resource#action= goes through the same validation. Fixes #3604.
* | | Merge pull request #3600 from coderanger/patch-4Thom May2015-06-291-0/+6
|\ \ \ | |/ / |/| | Add myself as a core maintainer.
| * | Add myself as a core maintainer.Noah Kantrowitz2015-06-251-0/+6
| | | | | | | | | I would really rather we split the DSL and Resource machinery in to a component because I'm definitely not able to call myself a maintainer for the "and everything else" part, but waiting to get my patches merged it getting annoying :-)
* | | Merge pull request #3606 from chef/jdm/pin-ffiJay Mundrawala2015-06-261-1/+1
|\ \ \ | | | | | | | | FFI 1.9.9 is causing segfaults
| * | | FFI 1.9.9 is causing segfaultsjdm/pin-ffiJay Mundrawala2015-06-261-1/+1
|/ / /
* | | Update CHANGELOGS.Kartik Null Cating-Subramanian2015-06-261-0/+10
| | |
* | | The wording seemed odd.jjasghar/needed_theJJ Asghar2015-06-261-1/+1
| | | | | | | | | | | | Added the word "the" and it now reads much better.