Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bump chef version number to 11.6.0.rc.1 | sersut | 2013-07-03 | 1 | -1/+1 |
| | |||||
* | Merge pull request #874 from opscode/diff-solaris-rspec-fix | lamont-granquist | 2013-07-03 | 2 | -1/+2 |
|\ | | | | | this should have been reverted to old behavior, causes failures on | ||||
| * | this should have been reverted to old behavior, causes failures on | Lamont Granquist | 2013-07-03 | 2 | -1/+2 |
|/ | | | | solaris | ||||
* | Fix test expectations for windows file separators | Daniel DeLeo | 2013-07-03 | 1 | -2/+4 |
| | |||||
* | Merge branch 'CHEF-3307-revert' | Bryan McLellan | 2013-07-03 | 12 | -133/+77 |
|\ | |||||
| * | Revert "Merge branch 'CHEF-3307'" | Bryan McLellan | 2013-07-03 | 11 | -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 McLellan | 2013-07-03 | 2 | -65/+50 |
|/ | | | | | This reverts commit 439980b12ed78eb5f61c52cf0d23d4a9205d1011, reversing changes made to de4d8e66be3dee3ccd9ac027e6332e0eb37f532e. | ||||
* | Merge branch 'CHEF-4341' | danielsdeleo | 2013-07-02 | 5 | -14/+64 |
|\ | |||||
| * | Use symlink source when inspecting current permissions | danielsdeleo | 2013-07-02 | 5 | -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-encoding | lamont-granquist | 2013-07-02 | 5 | -20/+400 |
|\ | | | | | Lcg/diff encoding | ||||
| * | diff without argument does not read in 8-bit | Lamont Granquist | 2013-07-01 | 1 | -2/+1 |
| | | |||||
| * | fix spec test for ruby-2.0 | Lamont Granquist | 2013-07-01 | 1 | -1/+1 |
| | | |||||
| * | confusingly named var | Lamont Granquist | 2013-06-28 | 1 | -2/+2 |
| | | |||||
| * | fix 1.9 mixlib-shellout encoding issues | Lamont Granquist | 2013-06-28 | 1 | -3/+8 |
| | | |||||
| * | add some comments | Lamont Granquist | 2013-06-28 | 1 | -0/+5 |
| | | |||||
| * | many bugs: | Lamont Granquist | 2013-06-28 | 2 | -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 world | Lamont Granquist | 2013-06-28 | 3 | -1/+16 |
| | | |||||
* | | Merge pull request #862 from opscode/OC-8697 | Serdar Sutay | 2013-06-28 | 2 | -37/+18 |
|\ \ | |/ |/| | Yum package calls readlines on a string. | ||||
| * | Don't call readlines on stderr which is a string object. | sersut | 2013-06-28 | 2 | -37/+18 |
|/ | |||||
* | Regenerate docs for 11.6.0.rc.011.6.0.rc.0 | danielsdeleo | 2013-06-26 | 48 | -233/+151 |
| | |||||
* | Bump the chef version number for 11.6.0 RC. | sersut | 2013-06-26 | 1 | -1/+1 |
| | |||||
* | Merge branch 'CHEF-4312' | danielsdeleo | 2013-06-26 | 13 | -73/+400 |
|\ | | | | | | | Fixes CHEF-4312: http://tickets.opscode.com/browse/CHEF-4312 | ||||
| * | Test manage_symlink_source w/ links to links | danielsdeleo | 2013-06-26 | 1 | -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 filenames | Daniel DeLeo | 2013-06-26 | 1 | -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 annoyances | danielsdeleo | 2013-06-26 | 3 | -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.8 | danielsdeleo | 2013-06-26 | 2 | -0/+27 |
| | | | | | | | | - Related to fix for CHEF-4312 | ||||
| * | Allow file resources to manage files via symlink | danielsdeleo | 2013-06-26 | 4 | -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. | danielsdeleo | 2013-06-25 | 4 | -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 issues | Bryan McLellan | 2013-06-25 | 1 | -1/+1 |
| | |||||
* | Merge pull request #855 from opscode/adamed-8391-password-policy | Adam Edwards | 2013-06-25 | 1 | -1/+14 |
|\ | | | | | OC-8391: Chef::Provider::User::Windows fails with local password policies | ||||
| * | Clarify comments on Windows API behavior with direct link to documentation | adamedx | 2013-06-25 | 1 | -3/+5 |
| | | |||||
| * | comments are always good. | Ameya Varade | 2013-06-25 | 1 | -0/+9 |
| | | | | | | | | | | It's tough to understand this fix, thus putting some descriptive comments. | ||||
| * | handle local password policies | Ameya Varade | 2013-06-25 | 1 | -1/+3 |
|/ | |||||
* | Merge pull request #851 from opscode/adamed-OC-8337-windows-script-tests | Adam Edwards | 2013-06-25 | 10 | -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 ↵ | adamedx | 2013-06-25 | 2 | -3/+3 |
| | | | | | | | | -File instead of -Command with powershell.exe | ||||
| * | Fix Win2k3 32-bit status code test failures | adamedx | 2013-06-25 | 1 | -2/+4 |
| | | |||||
| * | Add functional tests for exit code and flags, fix architecture test verification | adamedx | 2013-06-25 | 4 | -45/+162 |
| | | |||||
| * | OC-8337: Fix 32-bit OS test breaks | adamedx | 2013-06-25 | 1 | -9/+7 |
| | | |||||
| * | OC-8337: Architecture functional test coverage | adamedx | 2013-06-25 | 6 | -13/+13 |
| | | |||||
| * | OC-8337: Add architecture functional test coverage, fix resource name collision | adamedx | 2013-06-25 | 3 | -7/+79 |
|/ | |||||
* | Merge pull request #847 from opscode/el-usermod-test-fixes | Serdar Sutay | 2013-06-24 | 1 | -19/+52 |
|\ | | | | | El usermod test fixes | ||||
| * | Expect user home dir to always be created on RHEL on more tests. | sersut | 2013-06-24 | 1 | -4/+13 |
| | | |||||
| * | Expect user home dir to always be created on RHEL | danielsdeleo | 2013-06-21 | 1 | -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 sles | danielsdeleo | 2013-06-21 | 1 | -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/yard | lamont-granquist | 2013-06-21 | 2 | -0/+16 |
|\ | | | | | add rake task for generating docs with YARD | ||||
| * | add rake task for generating docs with YARD | Lamont Granquist | 2013-06-20 | 2 | -0/+16 |
| | | |||||
* | | Merge pull request #843 from opscode/lcg/warn-run-lock | lamont-granquist | 2013-06-21 | 1 | -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 warn | Lamont Granquist | 2013-06-20 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #846 from opscode/fix-old-userdel-whining | Serdar Sutay | 2013-06-21 | 3 | -7/+19 |
|\ \ \ | | | | | | | | | Fix `usermod` test issues | ||||
| * | | | Skip test for username with quote where unsupported. | danielsdeleo | 2013-06-21 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | | | | | Only debian-based platforms appear to support usernames with single quote characters, so skip this test on other platforms. |