summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Bump version of chef to 13.0.96 by Chef Versioner.v13.0.96Chef Versioner2017-04-041-1/+1
|
* Merge pull request #6001 from chef/smurawski/exit_status_defaultSteven Murawski2017-04-045-95/+17
|\ | | | | Make Standardized Exit Codes The Default Behavior
| * removing the use of Chef::Exception::DeprecatedExitCodesmurawski/exit_status_defaultSteven Murawski2017-04-044-22/+8
| | | | | | | | Signed-off-by: Steven Murawski <steven.murawski@gmail.com>
| * use rfc exit codesSteven Murawski2017-04-043-76/+12
| | | | | | | | Signed-off-by: Steven Murawski <steven.murawski@gmail.com>
* | Bump version of chef to 13.0.95 by Chef Versioner.v13.0.95Chef Versioner2017-04-041-1/+1
| |
* | Merge pull request #6009 from chef/lcg/fix-linux-userLamont Granquist2017-04-041-1/+1
|\ \ | | | | | | fix build break on master in linux user provider
| * | fix build break on master in linux user providerlcg/fix-linux-userLamont Granquist2017-04-041-1/+1
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Very minor follow up to ↵Noah Kantrowitz2017-04-041-1/+0
|/ / | | | | | | | | | | https://github.com/chef/chef/commit/81db0e0cfc218169a70a8178f83c567b467d2e6c Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* | Bump version of chef to 13.0.94 by Chef Versioner.v13.0.94Chef Versioner2017-04-041-1/+1
| |
* | add better specs around modifying gem sourcesLamont Granquist2017-04-041-1/+3
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Chef-13: tweaks to rubygems source option for urlsLamont Granquist2017-04-043-10/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default now we don't pass any --source option or set the `Chef::Config[:rubygems_url]` to anything. This is so that if there is external config for rubygems sources we will simply have rubygems pick it up and use it (the resource acts like the command line). There is also no more magic around `--clear-sources` and if you set the property it sets the flag. If the `Chef::Config[:rubygems_url]` setting is set then that becomes the default `--source` flag sent to the command. This also supports Arrays now. If the `source` option is set to a URI (it can also be set to a filesystem path for poorly-designed-API reasons) then we do not use the default values at all. This may be an API break but this much more clearly allows users to override individual resources and is more declarative. You get what you type. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version of chef to 13.0.93 by Chef Versioner.Chef Versioner2017-04-041-1/+1
| |
* | Merge pull request #6005 from coderanger/template-lazyNoah Kantrowitz2017-04-041-1/+24
|\ \ | | | | | | Allow lazy{} to be used in template resource variables.
| * \ Merge branch 'master' into template-lazyNoah Kantrowitz2017-04-0433-552/+356
| |\ \ | | | | | | | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
| * | | Cope with the common case of passing node[“whatever”] as template variables.Noah Kantrowitz2017-04-041-1/+5
| | | | | | | | | | | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
| * | | Make chefstyle happy.Noah Kantrowitz2017-04-031-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
| * | | Allow lazy{} to be used in template resource variables.Noah Kantrowitz2017-04-031-1/+20
| | | | | | | | | | | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* | | | Merge pull request #6003 from coderanger/freeze-property-defaultNoah Kantrowitz2017-04-042-1/+15
|\ \ \ \ | | | | | | | | | | Chef-13: Freeze property defaults
| * \ \ \ Merge branch 'master' into freeze-property-defaultNoah Kantrowitz2017-04-0410-57/+14
| |\ \ \ \ | | | |/ / | | |/| | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
| * | | | Rubocoppppp.Noah Kantrowitz2017-04-041-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
| * | | | Merge branch 'master' into freeze-property-defaultNoah Kantrowitz2017-04-0424-496/+343
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
| * | | | Switch to recursive freeze, if you want to footgun you need to work for it. Noah Kantrowitz2017-04-031-2/+13
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
| * | | | Fix the default on Mount#supports as some tests mutate it in-place.Noah Kantrowitz2017-04-031-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
| * | | | Freeze the default value for properties unless it is a lazy.Noah Kantrowitz2017-04-031-0/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* | | | | Merge pull request #5978 from Oxalide/fix-exit-on-errorSteven Murawski2017-04-041-11/+15
|\ \ \ \ \ | |_|_|/ / |/| | | | fix knife ssh --exit-on-error
| * | | | fix knife ssh --exit-on-errorMaxime de Roucy2017-03-311-11/+15
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Maxime de Roucy <maxime.deroucy@oxalide.com>
* | | | | Merge pull request #5720 from Ppjet6/masterSteven Murawski2017-04-041-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Add -u param to usermod in linux_user resource when using non_unique
| * | | | | Add -u param to usermod in linux_user resource when using non_uniqueMaxime “pep” Buquet2017-01-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Maxime “pep” Buquet <pep@collabora.com>
* | | | | | Merge pull request #5822 from gbatye/launchd_limit_load_sessionLamont Granquist2017-04-041-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Launchd limit_load_to_session_type accepts Array or String
| * | | | | | launchd:limit_load_to_session_type accepted Array and StringGregory Batye2017-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Gregory Batye <gbatye@fb.com>
* | | | | | | Merge pull request #6000 from coderanger/no-more-constsNoah Kantrowitz2017-04-044-53/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Chef-13: Remove the consts for DSL-based resources/providers
| * \ \ \ \ \ \ Merge branch 'master' into no-more-constsNoah Kantrowitz2017-04-0433-508/+372
| |\ \ \ \ \ \ \ | | | |_|_|_|/ / | | |/| | | | | | | | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
| * | | | | | | Try removing the const-ificiation of DSL-based resources/providers.Noah Kantrowitz2017-04-034-53/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* | | | | | | | Merge pull request #5850 from criteo-forks/rb_supportThom May2017-04-041-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Add real support for rb files (at least roles) in knife-serve
| * | | | | | | | Ensure ruby nodes are supported in knife serveGrégoire Seux2017-03-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I4788cac16864c7eb5a876890e9fe41485af80d46 Signed-off-by: Grégoire Seux <g.seux@criteo.com>
| * | | | | | | | Support ruby role in knife serveGrégoire Seux2017-03-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1076b918e9153f21b4c49d77054899111106eb74 Signed-off-by: Grégoire Seux <g.seux@criteo.com>
* | | | | | | | | Merge pull request #5854 from mikedodge04/ld_restartThom May2017-04-042-1/+5
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Adding restart action to launchd resource

| * \ \ \ \ \ \ \ \ Merge remote-tracking branch 'chef/master' into ld_restartMike Dodge2017-03-27136-2463/+568
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Mike Dodge <mikedodge04@gmail.com>
| * | | | | | | | | | Adding restart action to launchd resourceMike Dodge2017-03-022-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At first we wanted only support native actions with the launchd resource and launchd does not have the concept of restart. You would unload and load. But not having a restart was causing more confusion to people.
* | | | | | | | | | | Merge pull request #5971 from nathwill/sd-verify-optionalThom May2017-04-042-1/+6
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / |/| | | | | | | | | | systemd_unit verifier escape hatch
| * | | | | | | | | | provide verification escape-hatch & document internal vs user-managed propertiesNathan Williams2017-03-302-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nathan Williams <nath.e.will@gmail.com>
* | | | | | | | | | | RFC 85: Remove unused metadataThom May2017-04-041-111/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Thom May <thom@chef.io>
* | | | | | | | | | | RFC 67: Remove cookbook segmentsThom May2017-04-0422-384/+340
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements RFC 67, which removes cookbook segments, and moves to a single list of all the files contained in a cookbook. This allows us to move forward with better audit modes and also proper shipping of ohai plugins. Signed-off-by: Thom May <thom@chef.io>
* | | | | | | | | | Bump version of chef to 13.0.92 by Chef Versioner.v13.0.92Chef Versioner2017-04-041-1/+1
| |_|_|_|_|_|_|_|/ |/| | | | | | | |
* | | | | | | | | Bump version of chef to 13.0.91 by Chef Versioner.v13.0.91Chef Versioner2017-04-041-1/+1
| | | | | | | | |
* | | | | | | | | Merge pull request #5998 from chef/lcg/ohai-with-amazon-changeLamont Granquist2017-04-038-11/+11
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | bumping Gemfile.lock to pick up ohai amazon change
| * | | | | | | | | chef code changes for changing amazon platform_familyLamont Granquist2017-04-038-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | | | | | | | | Bump version of chef to 13.0.90 by Chef Versioner.v13.0.90Chef Versioner2017-04-031-1/+1
| | | | | | | | | |
* | | | | | | | | | Merge pull request #5987 from coderanger/error-infoNoah Kantrowitz2017-04-031-1/+18
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / |/| | | | | | | | | Expand the system info displayed on error to give us some more data to work with when helping users
| * | | | | | | | | Chefstyle fixes.Noah Kantrowitz2017-04-031-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>