summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* DO NOT MERGE: skip the event logger library installbtm/no-chef-logBryan McLellan2017-01-041-7/+0
|
* Bump version of chef to 12.18.18 by Chef Versioner.v12.18.18Chef Versioner2017-01-045-10/+10
|
* Merge pull request #5697 from chef/rhass/acceptance-fixRyan Hass2017-01-031-18/+18
|\ | | | | Update acceptance Gemfile.lock.
| * Update acceptance Gemfile.lock.rhass/acceptance-fixRyan Hass2017-01-031-18/+18
|/ | | | | | | | Update the Gemfile.lock for chef-acceptance to pull in the latest test-kitchen version which includes the following fix: https://github.com/test-kitchen/test-kitchen/commit/53a0eaf452985fa3facdc8f9059cdad012696144 Signed-off-by: Ryan Hass <rhass@users.noreply.github.com>
* Bump version of chef to 12.18.17 by Chef Versioner.v12.18.17Chef Versioner2017-01-035-11/+11
|
* Fix error thrown by solo when run on Windows as SYSTEMScott Christopherson2017-01-032-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `Chef::ReservedNames::Win32::Security::SID.current_user` throws an error when `chef-solo` is being run as a `SYSTEM` user: ``` ================================================================================ Chef encountered an error attempting to load the node data for "WIN-00P0BGAA4IV" ================================================================================ Unknown Server Error: --------------------- The server had a fatal error attempting to load the node data. Server Response: ---------------- Exception raised! #<Chef::Exceptions::Win32APIError: No mapping between account names and security IDs was done. ---- Begin Win32 API output ---- System Error Code: 1332 System Error Message: No mapping between account names and security IDs was done. ---- End Win32 API output ---- > c:/opscode/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44-universal-mingw32/lib/chef/win32/error.rb:81:in `raise!' c:/opscode/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44-universal-mingw32/lib/chef/win32/security.rb:383:in `lookup_account_name' c:/opscode/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44-universal-mingw32/lib/chef/win32/security/sid.rb:44:in `from_account' c:/opscode/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44-universal-mingw32/lib/chef/win32/security/sid.rb:241:in `current_user' c:/opscode/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44-universal-mingw32/lib/chef/chef_fs/file_system/repository/nodes_dir.rb:41:in `create_child' ``` This commit modfies these calls to use `SID.default_security_object_owner` instead which will return `SID.Administrators` for users such as `SYSTEM` and then returns `SID.current_user` for everyone else. Signed-off-by: Scott Christopherson <scott@chef.io>
* Bump version of chef to 12.18.16 by Chef Versioner.v12.18.16Chef Versioner2016-12-225-10/+11
|
* Merge pull request #5668 from chef/afiune/COOL-642/dont-report-sensitive-dataSalim Afiune2016-12-223-0/+46
|\ | | | | Report a blank resource if sensitive is enabled
| * Fix typo on RELEASE_NOTESafiune/COOL-642/dont-report-sensitive-dataSalim Afiune2016-12-221-1/+1
| | | | | | | | Signed-off-by: Salim Afiune <afiune@chef.io>
| * Added Release NotesSalim Afiune2016-12-221-0/+11
| | | | | | | | Signed-off-by: Salim Afiune <afiune@chef.io>
| * Create a new blank Resource instead of transforming itSalim Afiune2016-12-222-23/+13
| | | | | | | | Signed-off-by: Salim Afiune <afiune@chef.io>
| * Transform sensitive resources before report themSalim Afiune2016-12-222-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | COOL-642/ZD 12936 - Chef Manage Run History compromises sensitive data Before this commit we were sending sensitive resource information to Reporting and therefor you were able to see the sensitive data on the Run History in the Chef Manage Console. This commit is fixing this problem and now it is transforming any sensitive resource to display the word `*sensitive*` instead of the actual data. As we are inserting this values directly to the data base, it means that this change will cascade all the way to the front-end. Catch: Old data that was already reported and is displaying sensitive data will contineu to be displayed. Apologize. Signed-off-by: Salim Afiune <afiune@chef.io>
* | Bump version of chef to 12.18.15 by Chef Versioner.v12.18.15Chef Versioner2016-12-225-10/+10
| |
* | Merge pull request #5679 from chef/lcg/fix-group-dsclLamont Granquist2016-12-222-32/+32
|\ \ | | | | | | fix dscl group provider func breakage from #5673
| * | fix dscl group provider func breakageLamont Granquist2016-12-222-32/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | i didn't fully grok the way the dscl providers were written and only half fixed the group dscl provider, but later did a better job fixing the user one. fixes the breakage caught in the dscl group func tests. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Bump version of chef to 12.18.14 by Chef Versioner.v12.18.14Chef Versioner2016-12-225-10/+10
| | |
* | | Merge pull request #5678 from chef/lcg/fix-aix-breakageLamont Granquist2016-12-221-1/+4
|\ \ \ | |/ / |/| | fix aix breakage from #5673
| * | properly only call set_options onceLamont Granquist2016-12-221-1/+1
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | fix aix breakage from d5517ce1e766c096dde16e5c8a10732ee346c5dcLamont Granquist2016-12-221-1/+4
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Bump version of chef to 12.18.13 by Chef Versioner.v12.18.13Chef Versioner2016-12-225-11/+15
| | |
* | | Merge pull request #5676 from chef/lcg/route-ifconfigLamont Granquist2016-12-2210-389/+363
|\ \ \ | |/ / |/| | cleanup of ifconfig and route providers
| * | cleanup of ifconfig and route providerslcg/route-ifconfigLamont Granquist2016-12-2210-389/+363
| | | | | | | | | | | | | | | | | | | | | | | | * run_command elimination * shell_out array usage * other misc cleanup Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Bump version of chef to 12.18.12 by Chef Versioner.Chef Versioner2016-12-225-11/+10
|/ /
* | Merge pull request #5674 from chef/lcg/user-provider-cleanupLamont Granquist2016-12-2213-308/+293
|\ \ | |/ |/| user provider cleanup
| * user provider cleanupLamont Granquist2016-12-2213-308/+293
| | | | | | | | | | | | | | | | * removes more run_command * converts to shell_out_compact * some other misc style cleanup Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Merge pull request #5653 from chef/1218releasenotesTim Smith2016-12-221-39/+7
|\ \ | |/ |/| Wipe the 12.17 release notes and start 12.18 release notes
| * Wipe the 12.17 release notes and start 12.18 releae notes1218releasenotesTim Smith2016-12-151-39/+7
| | | | | | | | | | | | | | I added a section for the deprecations. Let me know if that format makes sense. This process was defined in RFC-082 Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version of chef to 12.18.11 by Chef Versioner.v12.18.11Chef Versioner2016-12-225-10/+10
| |
* | Merge pull request #5673 from chef/lcg/group-provider-cleanupLamont Granquist2016-12-2218-313/+334
|\ \ | | | | | | cleanup of group provider
| * | cleanup of group providerlcg/group-provider-cleanupLamont Granquist2016-12-2118-313/+334
| | | | | | | | | | | | | | | | | | | | | | | | - consistent use of shell_out_compact! - remove more uses of run_command - some other code cleanup Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Bump version of chef to 12.18.10 by Chef Versioner.v12.18.10Chef Versioner2016-12-225-10/+11
| | |
* | | Merge pull request #5657 from chef/task_nameMatt Wrock2016-12-211-2/+2
|\ \ \ | | | | | | | | Use the same task name used by the chef-client cookbook so that the task can be managed by its task recipie
| * | | use the same task name used by the chef-client cookbook so that the task can ↵task_nameMatt Wrock2016-12-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | be managed by its task recipie Signed-off-by: Matt Wrock <matt@mattwrock.com>
* | | | Bump version of chef to 12.18.9 by Chef Versioner.v12.18.9Chef Versioner2016-12-215-10/+10
| | | |
* | | | Merge pull request #5671 from chef/lcg/oopsLamont Granquist2016-12-211-1/+1
|\ \ \ \ | | | | | | | | | | fix master breakage
| * | | | fix master breakagelcg/oopsLamont Granquist2016-12-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pressed merged too fast Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | | | Bump version of chef to 12.18.8 by Chef Versioner.v12.18.8Chef Versioner2016-12-215-10/+10
| | | | |
* | | | | Merge pull request #5669 from chef/lcg/bump-ruby-versionsLamont Granquist2016-12-211-25/+25
|\ \ \ \ \ | |/ / / / |/| | | | bump ruby versions in travis
| * | | | bump ruby versions in travisLamont Granquist2016-12-211-25/+25
| | |/ / | |/| | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | | Bump version of chef to 12.18.7 by Chef Versioner.v12.18.7Chef Versioner2016-12-215-10/+10
| | | |
* | | | Merge pull request #5670 from chef/lcg/numericpredicateLamont Granquist2016-12-217-8/+8
|\ \ \ \ | |/ / / |/| | | Style/NumericPredicate comparison style
| * | | Style/NumericPredicate comparison stylelcg/numericpredicateLamont Granquist2016-12-217-8/+8
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently rubocop thinks the default behavior should be that we have to rewrite every use of `foo == 0` into `foo.zero?` which is a big pile of NOPE for me. After discovering that `.zero?` is actually slower, I'd prefer to go the other direction. Same for `positive?` and `negative?`. These are the only uses of `zero?` in the chef/chef codebase, while I'm pretty sure the inverse rule would touch nearly every file. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Bump version of chef to 12.18.6 by Chef Versioner.v12.18.6Chef Versioner2016-12-215-10/+10
| | |
* | | Merge pull request #5666 from chef/lcg/deprecate-run-commandLamont Granquist2016-12-215-52/+70
|\ \ \ | | | | | | | | formally deprecate run_command
| * | | fix unnecessary quoting of argslcg/deprecate-run-commandLamont Granquist2016-12-202-3/+3
| | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | fix groupadd specs and modernizeLamont Granquist2016-12-202-50/+48
| | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | remove run_command from groupaddLamont Granquist2016-12-202-3/+12
| | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | formally deprecate run_commandLamont Granquist2016-12-202-0/+11
| | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | | Bump version of chef to 12.18.5 by Chef Versioner.v12.18.5Chef Versioner2016-12-215-10/+10
| | | |
* | | | Merge pull request #5667 from chef/lcg/remove-chef-provisioningLamont Granquist2016-12-203-23/+7
|\ \ \ \ | | | | | | | | | | remove chef-provisioning-aws from travis