Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow requests to opt-out from JSON encoding the body | danielsdeleo | 2014-07-30 | 1 | -0/+128 |
| | | | | | | | | * JSONInput middleware now checks the incoming headers for a Content-Type; if set to a non-json type, the body is passed through unchanged. This allows us to use our normal HTTP client objects to make requests with non-JSON bodies, such as file uploads. * Add test coverage for the JSONInput middleware. | ||||
* | add shell_out to base provider code | Lamont Granquist | 2014-07-29 | 1 | -0/+12 |
| | |||||
* | add shell_out mixins to recipe DSL | Lamont Granquist | 2014-07-28 | 1 | -0/+12 |
| | |||||
* | clean up deleted files in cookbooks we synch | Lamont Granquist | 2014-07-26 | 1 | -22/+83 |
| | | | | | this also fixes bugs where dotfiles would be missed in loops that search through the file cache. | ||||
* | make no_lazy_load the default | Lamont Granquist | 2014-07-26 | 1 | -218/+372 |
| | | | | modernization of spec tests and additional specs added | ||||
* | Merge branch 'chef-4760-knife-logging' | Bryan McLellan | 2014-07-24 | 10 | -46/+47 |
|\ | |||||
| * | Update tests for CHEF-4760 change. | Chris Jerdonek | 2014-07-21 | 10 | -46/+47 |
| | | |||||
* | | Allow an array in default_action | Seth Vargo | 2014-07-23 | 1 | -0/+13 |
|/ | |||||
* | Remove appending :actions and :valid_actions | Seth Vargo | 2014-07-18 | 1 | -21/+0 |
| | |||||
* | fix this right so it doesn't break in chef-13 too | Lamont Granquist | 2014-07-18 | 1 | -1/+1 |
| | |||||
* | fix unit test | Lamont Granquist | 2014-07-17 | 1 | -1/+1 |
| | |||||
* | Delegate DSL method values to their superclass | Seth Vargo | 2014-07-11 | 1 | -0/+61 |
| | | | | | | | | | | | | | | | | | | | | | | | | When inheriting from +Resource::LWRPBase+, the +default_action+ and +actions+ attributes are set as class instance variables. In Ruby's object model, class instance variables are **not** shared with children. So subclassing a resource that extended from +Resource::LWRPBase+ would result in some unexplainable side-effects: class Chef::Resource::Parent < Chef::Resource::LWRPBase actions :execute default_action :execute end class Child::Resource::Child < Chef::Resource::Parent # In here, +actions+ and +default_action+ are **not** inherited so they # are +nil+! end This commit tells resources that inherit from LWRPBase to check their superclasses for values if they do not have one on their own. This commit also deprecate +valid_actions+ in favor of just using +actions+ in the LWRP DSL. | ||||
* | Use Ruby 1.8 style hashes for BC | Seth Vargo | 2014-07-11 | 1 | -2/+2 |
| | |||||
* | Allow default values to be a DelayedEvaluator | Seth Vargo | 2014-07-11 | 1 | -0/+20 |
| | |||||
* | Merge pull request #1581 from opscode/vtolstov-systemd | Claire McQuin | 2014-07-09 | 1 | -27/+44 |
|\ | | | | | vtolstov: reload service only if it running, if not - start | ||||
| * | Update spec for shell_out. | Claire McQuin | 2014-06-30 | 1 | -27/+44 |
| | | |||||
* | | Add url scheme to proxy, if not present. | Claire McQuin | 2014-07-09 | 1 | -1/+35 |
| | | |||||
* | | Revert the provider indirection logic while keeping the timeout ↵ | sersut | 2014-07-02 | 3 | -29/+29 |
| | | | | | | | | functionality to fix resource notifications and ChefSpec stubs. | ||||
* | | moar 1.8.7 fixes | Lamont Granquist | 2014-07-01 | 1 | -4/+4 |
| | | |||||
* | | fix unit tests | Lamont Granquist | 2014-07-01 | 1 | -48/+24 |
| | | |||||
* | | Merge pull request #1565 from jmink/CHEF-4994 | Bryan McLellan | 2014-06-30 | 1 | -5/+5 |
|\ \ | | | | | | | CHEF-4994: knife cookbook site share fails on windows | ||||
| * | | Include the shell_out mixin in cookbook_site_share | jmink | 2014-06-27 | 1 | -3/+3 |
| | | | |||||
| * | | Hack around system differences for travis test | jmink | 2014-06-27 | 1 | -1/+1 |
| | | | |||||
| * | | Fix cookbook_site_share tests | jmink | 2014-06-26 | 1 | -5/+5 |
| | | | |||||
* | | | Allow users to set the +resource_name+ in an LWRP programatically | Seth Vargo | 2014-06-30 | 1 | -0/+27 |
| |/ |/| | | | | | | | | | | | | | | | Previously this was marked as an internal API, but I am making it public. We are reliably using this API in our LHWRPs in Release Engineering and it is truly a delightful experience. This deprecates using +resource_name = :foo+ in favor of the more "Chef-like" +resource_name(:foo)+. | ||||
* | | Set environment option's 'LC_ALL' to nil if not present in option. | Claire McQuin | 2014-06-27 | 1 | -102/+53 |
| | | |||||
* | | Properly modify environment option based on ENV | Claire McQuin | 2014-06-27 | 1 | -31/+114 |
| | | |||||
* | | Fix shell_out_with_systems_locale logic, add specs. | Claire McQuin | 2014-06-27 | 1 | -0/+58 |
| | | |||||
* | | Merge pull request #1414 from vtolstov/upstream | Serdar Sutay | 2014-06-26 | 1 | -0/+135 |
|\ \ | | | | | | | next try to add exherbo linux support | ||||
| * | | remove failed test | Vasiliy Tolstov | 2014-06-16 | 1 | -13/+0 |
| | | | | | | | | | | | | Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru> | ||||
| * | | fix last failed tests | Vasiliy Tolstov | 2014-06-15 | 1 | -1/+1 |
| | | | | | | | | | | | | Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru> | ||||
| * | | fix last failed tests | Vasiliy Tolstov | 2014-06-15 | 1 | -2/+9 |
| | | | | | | | | | | | | Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru> | ||||
| * | | fix test | Vasiliy Tolstov | 2014-06-14 | 1 | -180/+27 |
| | | | | | | | | | | | | Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru> | ||||
| * | | add paludis package manager user in gentoo/exherbo linux | Vasiliy Tolstov | 2014-05-13 | 1 | -0/+294 |
| | | | | | | | | | | | | Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru> | ||||
* | | | Misc spec fixes for windows. | sersut | 2014-06-24 | 1 | -1/+3 |
| | | | |||||
* | | | we can still emit JSON::ParserErrors in compat mode | Lamont Granquist | 2014-06-23 | 1 | -1/+1 |
| | | | |||||
* | | | fix another Yajl reference | Lamont Granquist | 2014-06-23 | 1 | -2/+2 |
| |/ |/| | |||||
* | | CHEF-5158: Make the former override_attribute's purpose a bit more clear | Bryan McLellan | 2014-06-20 | 1 | -13/+6 |
| | | |||||
* | | [CHEF-5158] knife[:attribute] in knife.rb should not override --attribute in ↵ | Hui Hu | 2014-06-20 | 1 | -0/+1 |
| | | | | | | | | the command line | ||||
* | | Merge pull request #1483 from opscode/CHEF-4600 | Claire McQuin | 2014-06-18 | 1 | -4/+15 |
|\ \ | | | | | | | Chef 4600 | ||||
| * | | fix indenting | Claire McQuin | 2014-06-18 | 1 | -5/+6 |
| | | | |||||
| * | | CHEF-4600 Add timeout for Chef::Provider::Service::Windows | Matt | 2014-06-18 | 1 | -3/+13 |
| | | | |||||
* | | | Merge pull request #506 from ctennis/CHEF-3637 | Claire McQuin | 2014-06-18 | 1 | -0/+14 |
|\ \ \ | |/ / |/| | | [CHEF-3637] Add support for automatically using the Systemd service provider | ||||
| * | | Add support for automatically using the Systemd service provider if it's in use | Caleb Tennis | 2012-11-29 | 1 | -0/+14 |
| | | | |||||
* | | | Merge pull request #1494 from brettcave/CHEF-5365_master | Claire McQuin | 2014-06-18 | 1 | -0/+5 |
|\ \ \ | | | | | | | | | CHEF-5365 - chef local crashes if home directory is not set | ||||
| * | | | CHEF-5365 - added a unit test to ensure fallback of Dir.pwd works without ↵ | brettcave | 2014-06-17 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | environment variables set | ||||
* | | | | Merge branch 'CHEF-4791' of github.com:deployable/chef | sersut | 2014-06-18 | 1 | -0/+61 |
|\ \ \ \ | |||||
| * | | | | Fixed whitespace in changes. | deployable | 2014-05-21 | 1 | -42/+83 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixed deprecation warnings for `stub!` and `mock` in tests. Added tests for `START_PENDING` and `STOP_PENDING` state to `stop_service` and `start_service` | ||||
| * | | | | CHEF-4791 Add more windows service states to the start/stop control flow | Matt | 2013-12-05 | 1 | -0/+20 |
| | | | | | | | | | | | | | | | | | | | | http://msdn.microsoft.com/en-us/library/windows/desktop/ee126211(v=vs.85).aspx | ||||
* | | | | | Merge pull request #1501 from opscode/shain/rpm_version_regex | Scott Hain | 2014-06-17 | 1 | -35/+35 |
|\ \ \ \ \ | | | | | | | | | | | | | Updated tests with more complicated data, fixed regex |