summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add more unit testslcg/refactor-chocolatey-featureLamont Granquist2019-05-282-2/+65
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* feature_state -> state and only support single actionLamont Granquist2019-05-282-27/+22
| | | | | | | | | | | | chef/chef#8597 made it obvious what was wrong about the way the resource was written before. the desired enabled/disable state needs to be property, not an action. the human desire to express things imperatively instead of declaratively strikes again. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Bump version to 15.0.323 by Chef Expeditorv15.0.323Chef Expeditor2019-05-286-14/+15
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #8581 from gep13/chocolateyTim Smith2019-05-283-0/+170
|\ | | | | Add new chocolatey_feature resource for managing features in Chocolatey
| * (GH-8580) Add ability to toggle Chocolatey featureGary Ewan Park2019-05-273-0/+170
| | | | | | | | | | | | | | | | | | | | | | Add the ability to enable and disable a named Chocolatey feature by creating a new Chef resource named chocolatey_feature. This accepts a single property either from feature_name or directly from name attribute then, based on the defined action, will either enable or disable that feature. Resource inspects the current state of the chocolatey.config in order to decide whether a change is required or not. Signed-off-by: Gary Ewan Park <gep13@gep13.co.uk>
* | Bump version to 15.0.322 by Chef Expeditorv15.0.322Chef Expeditor2019-05-286-14/+15
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #8562 from brodock/8561-include-filename-template-errorLamont Granquist2019-05-283-9/+64
|\ \ | | | | | | Improving error handling for template render
| * | Improving error handling for template renderGabriel Mazetto2019-05-263-9/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While Chef already implements a nice amount of information in `TemplateError#to_s`, when using ChefSpec with RSpec, the `#to_s` is not called, leaving us with no source information for template errors. By adding the filename to `Erubis::Eruby` initialization, we can get a better backtrace that will show up in RSpec output. Signed-off-by: Gabriel Mazetto <brodock@gmail.com>
* | | Bump version to 15.0.321 by Chef Expeditorv15.0.321Chef Expeditor2019-05-286-14/+15
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Fix ssh user set from cli (#8558)dheerajd-msys2019-05-282-6/+6
| | | | | | | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* | | Bump version to 15.0.320 by Chef Expeditorv15.0.320Chef Expeditor2019-05-286-14/+15
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #8460 from cc-build/dist_solo_zeroTim Smith2019-05-2752-74/+123
|\ \ \ | |_|/ |/| | Add distro constants for solo, zero and automate
| * | Fix another occurence of chef-zero in local_mode.rb fileTensibai2019-05-232-2/+3
| | | | | | | | | | | | | | | Signed-off-by: Tensibai <tensibai@iabis.net> Signed-off-by: Marc Chamberland <mchamberland@pbsc.com>
| * | more distro constants for "Chef"Marc Chamberland2019-05-2318-28/+28
| | | | | | | | | | | | Signed-off-by: Marc Chamberland <mchamberland@pbsc.com>
| * | More distro constant applicationsMarc Chamberland2019-05-2332-44/+68
| | | | | | | | | | | | Signed-off-by: Marc Chamberland <mchamberland@pbsc.com>
| * | distro constants for solo, zero and automateMarc Chamberland2019-05-2317-23/+47
| | | | | | | | | | | | Signed-off-by: Marc Chamberland <mchamberland@pbsc.com>
* | | Bump version to 15.0.319 by Chef Expeditorv15.0.319Chef Expeditor2019-05-276-14/+15
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #8593 from chef/lcg/enable-target-modeLamont Granquist2019-05-275-3/+6
|\ \ \ | | | | | | | | Enable target mode on ruby_block, log and breakpoint
| * | | enable target mode on some resourceslcg/enable-target-modeLamont Granquist2019-05-245-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | see PR for pontification on ruby_block Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | | Bump version to 15.0.318 by Chef Expeditorv15.0.318Chef Expeditor2019-05-256-14/+15
| | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | Fixed issue for chef-client run was throwing error when provided empty ↵vinay sharma2019-05-257-8/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | string with it (#8200) * fixed issue for chef-client run was throwing error when provided empty string with it Signed-off-by: vinay033 <vsharma@chef.io>
* | | | Bump version to 15.0.317 by Chef Expeditorv15.0.317Chef Expeditor2019-05-246-14/+15
| | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | Merge pull request #8595 from chef/lcg/shellout-require-idempotencyLamont Granquist2019-05-245-12/+11
|\ \ \ \ | | | | | | | | | | fix shellout require idempotency and bump gems
| * | | | revert back to released appbundlerlcg/shellout-require-idempotencyLamont Granquist2019-05-241-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | | fix shellout require idempotency and bump gemsLamont Granquist2019-05-245-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | something is declaring an empty class somewhere and trolling me hard but ruby makes that near impossible to figure out, so be slightly more specific by looking for a mixlib-shellout constant also bumps the gems Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | | | Bump version to 15.0.316 by Chef Expeditorv15.0.316Chef Expeditor2019-05-246-14/+15
| | | | | | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | | Merge pull request #8594 from chef/lcg/shellwordsLamont Granquist2019-05-241-1/+2
|\ \ \ \ \ | |/ / / / |/| | | | Use Shellwords.join in target-mode shell_out
| * | | | Use Shellwords.join in shell_outLamont Granquist2019-05-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be a bit less lazy. but ultimately train's run_command should take *args Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | | | Bump version to 15.0.315 by Chef Expeditorv15.0.315Chef Expeditor2019-05-246-14/+15
| | | | | | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | | Chef-15: Add missing deprecated options (#8573)Vivek Kumar Singh2019-05-241-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add missing deprecated options Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
* | | | | Bump version to 15.0.314 by Chef Expeditorv15.0.314Chef Expeditor2019-05-246-14/+15
| | | | | | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | | Bump version to 15.0.313 by Chef Expeditorv15.0.313Chef Expeditor2019-05-246-14/+15
| | | | | | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | | Add introduced field to launch_events in launchd (#8592)Tim Smith2019-05-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This auto generates our docs. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | fix order of connection before register node (#8574)dheerajd-msys2019-05-242-2/+2
|/ / / / | | | | | | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* | | | Bump version to 15.0.312 by Chef Expeditorv15.0.312Chef Expeditor2019-05-246-14/+15
| | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | Merge pull request #8582 from chilcote/launch_eventsTim Smith2019-05-242-0/+4
|\ \ \ \ | |/ / / |/| | | launchd: add launch_events property
| * | | Merge branch 'launch_events' of github.com:chilcote/chef into launch_eventsJoseph Chilcote2019-05-230-0/+0
| |\ \ \
| | * | | add LaunchEvents to launchd resourceJoseph Chilcote2019-05-232-0/+4
| | |/ /
| * | | add LaunchEvents to launchd resourceJoseph Chilcote2019-05-232-0/+4
| |/ / | | | | | | | | | Signed-off-by: Joseph Chilcote <chilcote+github@gmail.com>
* | | Bump version to 15.0.311 by Chef Expeditorv15.0.311Chef Expeditor2019-05-246-14/+15
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #8588 from chef/lcg/target-mode-whichLamont Granquist2019-05-241-2/+13
|\ \ \ | | | | | | | | make which/where be target-mode aware
| * | | fix target mode checklcg/target-mode-whichLamont Granquist2019-05-231-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | make which/where be target-mode awareLamont Granquist2019-05-231-2/+13
| | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | | Bump version to 15.0.310 by Chef Expeditorv15.0.310Chef Expeditor2019-05-246-14/+15
| | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | Fix for knife bootstrap inheritance issue with knife plugins (#8585)Vasundhara Jagdale2019-05-249-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | * Fix for knife bootstrap inheritance issue with knife plugins Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
* | | | Bump version to 15.0.309 by Chef Expeditorv15.0.309Chef Expeditor2019-05-246-14/+15
| | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | Merge pull request #8590 from chef/btm/preserve-train-connectionTim Smith2019-05-231-1/+1
|\ \ \ \ | | | | | | | | | | Preserve train connection in target mode to prevent running duplicate OS detection commands
| * | | | Preserve train connectionBryan McLellan2019-05-241-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to save the train connection object as that represents the ssh connection that we want to reuse. Fixes #8579 Signed-off-by: Bryan McLellan <btm@loftninjas.org>
* | | | Bump version to 15.0.308 by Chef Expeditorv15.0.308Chef Expeditor2019-05-246-14/+15
| | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | Merge pull request #8584 from chef/lcg/better-target-mode-shell-outLamont Granquist2019-05-237-103/+45
|\ \ \ \ | |/ / / | | | | Better target mode shell_out