summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump chef version number to 11.6.0.rc.1sersut2013-07-031-1/+1
|
* Merge pull request #874 from opscode/diff-solaris-rspec-fixlamont-granquist2013-07-032-1/+2
|\ | | | | this should have been reverted to old behavior, causes failures on
| * this should have been reverted to old behavior, causes failures onLamont Granquist2013-07-032-1/+2
|/ | | | solaris
* Fix test expectations for windows file separatorsDaniel DeLeo2013-07-031-2/+4
|
* Merge branch 'CHEF-3307-revert'Bryan McLellan2013-07-0312-133/+77
|\
| * Revert "Merge branch 'CHEF-3307'"Bryan McLellan2013-07-0311-68/+27
| | | | | | | | | | | | | | | | This reverts commit 5713a002062c762e40e4378be6d7763eb3dd61a2, reversing changes made to 4079a344f2001c1927132e7ed6b63453f459609f. Conflicts: spec/unit/cookbook_loader_spec.rb
| * Revert "Merge pull request #812 from opscode/lcg/CHEF-3307-empty-string-fix"Bryan McLellan2013-07-032-65/+50
|/ | | | | This reverts commit 439980b12ed78eb5f61c52cf0d23d4a9205d1011, reversing changes made to de4d8e66be3dee3ccd9ac027e6332e0eb37f532e.
* Merge branch 'CHEF-4341'danielsdeleo2013-07-025-14/+64
|\
| * Use symlink source when inspecting current permissionsdanielsdeleo2013-07-025-14/+64
|/ | | | | | | | | | | Fixes CHEF-4341 http://tickets.opscode.com/browse/CHEF-4341 When manage_symlink_source is enabled, File providers update current_resource with the security attributes of the source file. Subsequent actions (e.g., running FileAccessControl) use the values set on current_resource to determine if they need to modify the system, so setting them incorrect leads to a file resource being (not) updated incorrectly.
* Merge pull request #863 from opscode/lcg/diff-encodinglamont-granquist2013-07-025-20/+400
|\ | | | | Lcg/diff encoding
| * diff without argument does not read in 8-bitLamont Granquist2013-07-011-2/+1
| |
| * fix spec test for ruby-2.0Lamont Granquist2013-07-011-1/+1
| |
| * confusingly named varLamont Granquist2013-06-281-2/+2
| |
| * fix 1.9 mixlib-shellout encoding issuesLamont Granquist2013-06-281-3/+8
| |
| * add some commentsLamont Granquist2013-06-281-0/+5
| |
| * many bugs:Lamont Granquist2013-06-282-18/+374
| | | | | | | | | | | | | | - multiline is_binary? regex was broken - multiline rspec tests were all broken - Tempfile.new was a big no-op on several tests - lots of support for handling different encodings and UTF-8 output
| * ruby >= 1.9 is more useful than ruby == 1.9 in a ruby 1.9+2.0 worldLamont Granquist2013-06-283-1/+16
| |
* | Merge pull request #862 from opscode/OC-8697Serdar Sutay2013-06-282-37/+18
|\ \ | |/ |/| Yum package calls readlines on a string.
| * Don't call readlines on stderr which is a string object.sersut2013-06-282-37/+18
|/
* Regenerate docs for 11.6.0.rc.011.6.0.rc.0danielsdeleo2013-06-2648-233/+151
|
* Bump the chef version number for 11.6.0 RC.sersut2013-06-261-1/+1
|
* Merge branch 'CHEF-4312'danielsdeleo2013-06-2613-73/+400
|\ | | | | | | Fixes CHEF-4312: http://tickets.opscode.com/browse/CHEF-4312
| * Test manage_symlink_source w/ links to linksdanielsdeleo2013-06-261-0/+36
| | | | | | | | | | | | | | | | - Increases test coverage for CHEF-4312 patch. - Adds explicit coverage for managing symlink->[symlink ...]->file. It was previously determined that `File.realpath` handles this case, but this adds an explict test in case behavior is inconsistent across platform/ruby version/etc.
| * Update tests to expect normalized filenamesDaniel DeLeo2013-06-261-4/+10
| | | | | | | | | | | | | | - Relates to CHEF-4312 - Updates unit tests to expect "normalized" filenames where method arguments are now using File.realpath(path) instead of path; on *NIX these are the same, on Windows, \ gets converted to /.
| * Fix spec file loading annoyancesdanielsdeleo2013-06-263-22/+30
| | | | | | | | | | | | - Don't load all knife subcommands. Fixes error running tests on 1.8 when you have 1.9-only plugins installed. - Adjust spec file loading to use paths relative to spec/
| * Add File.realpath backport for ruby 1.8danielsdeleo2013-06-262-0/+27
| | | | | | | | - Related to fix for CHEF-4312
| * Allow file resources to manage files via symlinkdanielsdeleo2013-06-264-41/+273
| | | | | | | | | | | | | | | | | | | | Fixes CHEF-4312 http://tickets.opscode.com/browse/CHEF-4312 Adds resource attribute `manage_symlink_source` to file resource and descendents. When true, file resources will manage the source file when a symlink exists at the destination path. When nil (default), the source file is managed, but a warning is emitted. When false, symlinks are not followed. In Chef 12, the default should be changed to false.
| * Determine if ACL mgmt follows symlinks by provider type.danielsdeleo2013-06-254-6/+24
|/ | | | | | | | - Prerequisite for CHEF-4312 fix. - File access control defers to the provider to determine whether to use link-following system calls or not (e.g., chmod vs. lchmod). File provider and subclasses will use link-following calls (chmod), Link provider uses calls that manage the symlink itself (e.g., lchmod).
* CHEF-4314: Pin active_support < 4.0.0 due to atomic + CAS issuesBryan McLellan2013-06-251-1/+1
|
* Merge pull request #855 from opscode/adamed-8391-password-policyAdam Edwards2013-06-251-1/+14
|\ | | | | OC-8391: Chef::Provider::User::Windows fails with local password policies
| * Clarify comments on Windows API behavior with direct link to documentationadamedx2013-06-251-3/+5
| |
| * comments are always good.Ameya Varade2013-06-251-0/+9
| | | | | | | | | | It's tough to understand this fix, thus putting some descriptive comments.
| * handle local password policiesAmeya Varade2013-06-251-1/+3
|/
* Merge pull request #851 from opscode/adamed-OC-8337-windows-script-testsAdam Edwards2013-06-2510-72/+261
|\ | | | | OC-8337: Add missing functional tests for powershell_script, batch resources
| * Fix invalid assumption of non-nil code attribute and handle change to use ↵adamedx2013-06-252-3/+3
| | | | | | | | -File instead of -Command with powershell.exe
| * Fix Win2k3 32-bit status code test failuresadamedx2013-06-251-2/+4
| |
| * Add functional tests for exit code and flags, fix architecture test verificationadamedx2013-06-254-45/+162
| |
| * OC-8337: Fix 32-bit OS test breaksadamedx2013-06-251-9/+7
| |
| * OC-8337: Architecture functional test coverageadamedx2013-06-256-13/+13
| |
| * OC-8337: Add architecture functional test coverage, fix resource name collisionadamedx2013-06-253-7/+79
|/
* Merge pull request #847 from opscode/el-usermod-test-fixesSerdar Sutay2013-06-241-19/+52
|\ | | | | El usermod test fixes
| * Expect user home dir to always be created on RHEL on more tests.sersut2013-06-241-4/+13
| |
| * Expect user home dir to always be created on RHELdanielsdeleo2013-06-211-2/+9
| | | | | | | | | | - Inconsistent with other platforms because of etc/login.defs - See CHEF-2205 http://tickets.opscode.com/browse/CHEF-2205
| * Expect unlocking user w/o password to fail on slesdanielsdeleo2013-06-211-13/+30
|/ | | | | | | | On all other linux distros, `usermod`, when attempting to unlock a user with no password set, refuses to unlock the user, but exits with status 0. On SLES 11 and 12, `usermod` exits with status 3, which then causes mixlib shellout to raise an exception. Make the tests differentiate expected behavior by platform.
* Merge pull request #839 from opscode/lcg/yardlamont-granquist2013-06-212-0/+16
|\ | | | | add rake task for generating docs with YARD
| * add rake task for generating docs with YARDLamont Granquist2013-06-202-0/+16
| |
* | Merge pull request #843 from opscode/lcg/warn-run-locklamont-granquist2013-06-211-1/+1
|\ \ | | | | | | to see this on command line with default :auto level we need to warn
| * | to see this on command line with default :auto level we need to warnLamont Granquist2013-06-201-1/+1
| | |
* | | Merge pull request #846 from opscode/fix-old-userdel-whiningSerdar Sutay2013-06-213-7/+19
|\ \ \ | | | | | | | | Fix `usermod` test issues
| * | | Skip test for username with quote where unsupported.danielsdeleo2013-06-211-0/+11
| | | | | | | | | | | | | | | | | | | | Only debian-based platforms appear to support usernames with single quote characters, so skip this test on other platforms.