summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fixes https://github.com/chef/chef/issues/3054, re-raises and SystemExit errorstball/exit-codestyler-ball2015-03-152-47/+68
|
* Merge pull request #3069 from chef/jdm/poshJay Mundrawala2015-03-131-1/+2
|\ | | | | Mark failing test as pending on versions of powershell < 4
| * Mark failing test as pending on versions of powershell < 4jdm/poshJay Mundrawala2015-03-121-1/+2
| | | | | | | | | | This case has never worked before 6c724e866274a728bc66740ab352db7da7d7958f. It was fixed for 4, however it seems that does not apply to versions < 4.
* | Merge pull request #3060 from chef/jdm/useradd-specsJay Mundrawala2015-03-131-13/+26
|\ \ | |/ |/| Cleanup user directories if state was leftover from previous run
| * Use FileUtils to delete directoryjdm/useradd-specsJay Mundrawala2015-03-121-1/+1
| |
| * Use less common dir namesJay Mundrawala2015-03-121-14/+14
| |
| * Use User resource to cleanupJay Mundrawala2015-03-121-5/+4
| |
| * Freebsd stuffJay Mundrawala2015-03-121-1/+5
| |
| * Cleanup user directories if state was leftover from previous runJay Mundrawala2015-03-121-0/+10
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | We are seeing failures in our CI relating to state not being cleaned up in a previous run: ``` 1) Chef::Provider::User::Useradd action :create when the user already exists and home directory is updated and manage_home is enabled moves the home directory to the new location Failure/Error: user_resource.run_action(:create) Mixlib::ShellOut::ShellCommandFailed: user[TEST USER RESOURCE] (dynamically defined) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '12' ---- Begin output of ["usermod", "-d", "/home/bar", "-m", "cf-test"] ---- STDOUT: STDERR: usermod: directory /home/bar exists ---- End output of ["usermod", "-d", "/home/bar", "-m", "cf-test"] ---- Ran ["usermod", "-d", "/home/bar", "-m", "cf-test"] returned 12 # ./lib/chef/mixin/shell_out.rb:56:in `shell_out!' # ./lib/chef/provider/user/useradd.rb:42:in `manage_user' # ./lib/chef/provider/user.rb:137:in `block in action_create' # ./lib/chef/mixin/why_run.rb:52:in `call' # ./lib/chef/mixin/why_run.rb:52:in `add_action' # ./lib/chef/provider.rb:180:in `converge_by' # ./lib/chef/provider/user.rb:136:in `action_create' # ./lib/chef/provider.rb:145:in `run_action' # ./lib/chef/resource.rb:561:in `run_action' # ./spec/functional/resource/user/useradd_spec.rb:336:in `block (4 levels) in <top (required)>' ```
* Merge pull request #3039 from chef/tball/nightliesTyler Ball2015-03-112-4/+8
|\ | | | | Chef-DK nightlies on debian and el6 have been failing on these timing-based tests, doing a quick fix
| * Updating comment for future userstball/nightliestyler-ball2015-03-101-1/+2
| |
| * Changing tactics - excluding test from chef verify because I cannot figure ↵tyler-ball2015-03-102-2/+5
| | | | | | | | out why it fails
| * Nightlies on debian and el6 have been failing on these timing-based tests, ↵tyler-ball2015-03-101-4/+4
| | | | | | | | doing a quick fix
* | Merge branch 'gh2k-msiprops-chomp'Steven Murawski2015-03-111-1/+1
|\ \
| * | Remove trailing null character from msi propertiesSimon Detheridge2015-03-111-1/+1
|/ /
* | Merge pull request #3029 from cl-lab-k/fix_chef_gem_compile_time_commentThom May2015-03-111-1/+1
|\ \ | | | | | | chef_gem_compile_time's nil is the same as true
| * | chef_gem_compile_time's nil is the same as trueHIGUCHI Daisuke2015-03-051-1/+1
| | | | | | | | | | | | according to lib/chef/resource/chef_gem.rb#after_created
* | | Merge pull request #3052 from chef/jdm/dscl-fixJay Mundrawala2015-03-102-1/+2
|\ \ \ | | | | | | | | dscl specs should only run on mac
| * | | dscl specs should only run on macjdm/dscl-fixJay Mundrawala2015-03-102-1/+2
|/ / /
* | | Merge pull request #3050 from chef/jdm/osxJay Mundrawala2015-03-105-2/+21
|\ \ \ | |_|/ |/| | Fix dscl issues for osx
| * | Dont run useradd_spec on osxjdm/osxJay Mundrawala2015-03-093-0/+16
| | |
| * | Modify dscl_spec to runJay Mundrawala2015-03-091-1/+0
| | |
| * | Sometimes plutil returns an invalid utf-8 string, which gets interpreted as ↵Jay Mundrawala2015-03-091-1/+5
| | | | | | | | | | | | | | | | | | ascii This causes plist gem to crash
* | | Merge pull request #3004 from chef/lcg/deploy-provider-nillableLamont Granquist2015-03-095-89/+146
|\ \ \ | | | | | | | | add specs for nilling deploy parameters
| * | | remove unnecessary code editlcg/deploy-provider-nillableLamont Granquist2015-03-051-101/+98
| | | |
| * | | make deploy provider support nilLamont Granquist2015-03-055-187/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | necessary edits to protect deploy provider and git provider when the resource parameters are reset to nil. also clean up the use of @new_resource in the deploy provider.
| * | | add specs for nilling deploy parametersLamont Granquist2015-03-051-0/+35
| | | |
* | | | Merge pull request #3045 from chef/jdm/dev-versionJay Mundrawala2015-03-091-1/+1
|\ \ \ \ | |_|/ / |/| | | Use dev version in master
| * | | Use dev version in masterjdm/dev-versionJay Mundrawala2015-03-061-1/+1
|/ / /
* | | Merge pull request #3043 from chef/jdm/changelogJay Mundrawala2015-03-061-0/+4
|\ \ \ | | | | | | | | 12.1.1 changelog
| * | | Update changelog for 12.1.1Jay Mundrawala2015-03-061-0/+2
| | | |
| * | | Added #3019 to CHANGELOGJay Mundrawala2015-03-061-0/+2
|/ / /
* | | Merge pull request #3019 from ranjib/fix_searchJay Mundrawala2015-03-061-2/+1
|\ \ \ | | | | | | | | Fix data fetching when explicit attributes are passed
| * | | fix data fetching when explicit attributes are passedRanjib Dey2015-03-031-2/+1
| | | |
* | | | Merge pull request #3017 from chef/jdm/changelogJay Mundrawala2015-03-061-1/+5
|\ \ \ \ | | | | | | | | | | Updated Changelog
| * | | | Update CHANGELOG for #3011Jay Mundrawala2015-03-061-1/+3
| | | | |
| * | | | Update CHANGELOG for #3013Jay Mundrawala2015-03-061-0/+2
| | | | |
| * | | | Update changelog to reflect 12.1.0Jay Mundrawala2015-03-061-1/+1
|/ / / /
* | | | Merge pull request #3021 from chef/remove_thom_may_from_core_maintainersThom May2015-03-051-1/+0
|\ \ \ \ | |_|_|/ |/| | | Remove @thommay as Core Maintainer
| * | | Remove @thommay as Core Maintainerremove_thom_may_from_core_maintainersnathenharvey2015-03-041-1/+0
| | |/ | |/| | | | | | | Thom is now the Lieutenant for Core, no need to also be a maintainer
* | | Merge pull request #2970 from chef/lcg/provider_resolverLamont Granquist2015-03-0429-120/+185
|\ \ \ | |/ / |/| | provider_resolver migration from provider_mapping
| * | add CHANGELOG.mdlcg/provider_resolverLamont Granquist2015-03-041-0/+2
| | |
| * | rename 'hash' to 'provider_mapping'Lamont Granquist2015-03-041-5/+5
| | | | | | | | | | | | slightly less generic
| * | add os to node stubLamont Granquist2015-03-041-3/+4
| | | | | | | | | | | | | | | would be better to use a pristine copy of a real ohai run here since we're in a functional test.
| * | provider_resolver migration from provider_mappingLamont Granquist2015-03-0427-117/+179
|/ / | | | | | | | | | | | | | | - move macosx providers to dynamic resolution - move windows providers to dynamic resolution - move openbsd/netbsd providers to dynamic resolution - move all cron providers to dynamic resolution - move mdadm to static mapping
* | Merge branch 'ryan/knife_ssh_on_error'Steven Danna2015-03-043-76/+13
|\ \
| * | CHANGELOG and DOC_CHANGES updates for #2941Steven Danna2015-03-042-76/+6
| | |
| * | Add --exit-on-error option to knife sshryan/knife_ssh_on_errorRyan Cragun2015-03-031-0/+7
| | |
* | | Merge pull request #2950 from jonlives/masterJon Cowie2015-03-041-1/+2
|\ \ \ | |_|/ |/| | Adding myself as LT for RHEL
| * | Removing myself as RHEL maintainer per @btm's suggestion since I'll be LTJon Cowie2015-03-041-1/+0
| | |