summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Replace \d,\d correctlysolaris_diff_problemsjkeiser2013-01-211-9/+9
|
* Even out some differences in Solaris diffjkeiser2013-01-211-21/+22
|
* Merge branch 'CHEF-3571'danielsdeleo2013-01-176-3/+273
|\
| * [CHEF-3571] update gemspec for chef-recipe -> chef-applydanielsdeleo2013-01-171-1/+1
| |
| * [CHEF-3571] code rename chef-recipe -> chef-applydanielsdeleo2013-01-173-8/+8
| |
| * [CHEF-3571] file rename chef-recipe -> chef-applydanielsdeleo2013-01-174-2/+2
| |
| * CHEF-3571 add chef-recipe commandBryan Berry2013-01-176-3/+273
|/
* fix knife functional testsdanielsdeleo2013-01-161-1/+5
|
* Merge branch 'CHEF-3497'danielsdeleo2013-01-167-44/+131
|\
| * [CHEF-3497] Require mixlib-cli ~> 1.3.0danielsdeleo2013-01-161-1/+1
| |
| * [CHEF-3497] apply config in the desired orderdanielsdeleo2013-01-145-29/+90
| | | | | | | | | | | | | | | | | | Takes advantage of new mixlib-cli option to keep default values from the mixlib-cli DSL separate from user-supplied values. Config settings are merged: 1. Defaults from mixlib-cli DSL 2. Settings from Chef::Config[:knife] 3. Values from CLI options
| * [CHEF-3497] don't configure in Knife#initializedanielsdeleo2013-01-141-2/+2
| | | | | | | | | | | | Config changes a ton of global state and is based on the state of the machine it runs on (most importantly, the user's config file). Running configure_chef in the initializer makes unit tests extremely fragile
| * Update stubbing order within config specChris Roberts2013-01-142-8/+14
| |
| * Isolate knife config file location methodology. Use new locate method when ↵Chris Roberts2013-01-111-27/+38
| | | | | | | | configuring
| * Allow knife.rb configuration file to provide any options for knife pluginsChris Roberts2013-01-111-1/+10
|/
* Merge pull request #580 from opscode/lcg/tiny-server-racelamont-opscode2013-01-101-2/+2
|\ | | | | race condition that resolves itself?
| * race condition that resolves itself?Lamont Granquist2013-01-101-2/+2
|/
* remove mistaken message expectationdanielsdeleo2013-01-071-1/+0
|
* Merge branch 'fix-reporting-tests-windows'danielsdeleo2013-01-073-16/+40
|\
| * Make tests unix_only where the stubs don't work on windows.danielsdeleo2013-01-071-3/+13
| | | | | | | | | | Functionality is covered by functional tests, so we have test coverage to fall back on until the unit tests are fixed.
| * Add missing stubs for File.directory?("/tmp")danielsdeleo2013-01-071-0/+2
| |
| * Stub windows platform detection in spec testsdanielsdeleo2013-01-072-13/+22
| |
| * Stub windows detection in directory spec.danielsdeleo2013-01-071-0/+3
|/
* update rspec dependency to 2.12.xdanielsdeleo2013-01-071-1/+1
| | | | | The newer version should have the support for metadata/tag filtering of before blocks that we need for functional tests.
* Merge branch 'functional-test-context-fix'danielsdeleo2013-01-074-38/+46
|\
| * fix functional test context for permissions.danielsdeleo2013-01-074-38/+46
|/ | | | | | | | | * Effectively reverts 65d5c841061401a1a71d9abd1a5da5695cc34f30. "printf debugging" showed that the nested context blocks were not executed at all, so setup for correct/incorrect permissions was not happening correctly * Fixes incorrect assertion that file resources should report being updated when no changes were made.
* skip windows reporting functional tests for nowdanielsdeleo2013-01-041-1/+5
|
* Fix dynamic inclusion of windows securable behaviordanielsdeleo2013-01-042-17/+19
|
* Fix remote file functional tests for ruby < 1.9.3danielsdeleo2013-01-041-1/+10
|
* Compute expected remote file mode from tempfiledanielsdeleo2013-01-041-1/+6
|
* Merge branch 'CHEF-3557-unix'danielsdeleo2013-01-0421-180/+613
|\
| * [CHEF-3557] report file modes with leading 0 for claritydanielsdeleo2013-01-045-13/+13
| |
| * [CHEF-3557] force log_level to info to suppress diffsdanielsdeleo2013-01-041-0/+3
| |
| * [CHEF-3557] Fix ws/capitalization in test suite/commentsdanielsdeleo2013-01-041-6/+6
| |
| * [CHEF-3557] skip file metadata reporting on win for nowdanielsdeleo2013-01-031-0/+1
| |
| * [CHEF-3557] fix reporting for directory-like resourcesdanielsdeleo2013-01-036-12/+13
| |
| * [CHEF-3557] fix file security reporting for files on Unixdanielsdeleo2013-01-039-210/+390
| | | | | | | | | | | | | | | | | | | | * windows still needs work * directories still need work * needs tests for the case that *only* security metadata is updated (correct content) Conflicts: spec/functional/resource/file_spec.rb
| * [CHEF-3557] Fix tests after rebasedanielsdeleo2013-01-031-3/+3
| | | | | | | | | | CHEF-3715 removed checksum cache, which changes number of File.stat calls
| * [CHEF-3557] remove load_current_resource_attrs corpsedanielsdeleo2013-01-033-7/+13
| |
| * [CHEF-3557] remove load_current_resource_attrsdanielsdeleo2013-01-036-160/+165
| | | | | | | | | | | | Functionality was a duplicate of ScanAccessControl with some slightly different behavior. Correct behavior is now implemented in ScanAccessControl.
| * [CHEF-3557] Update ScanAccessControl behaviordanielsdeleo2013-01-032-6/+4
| | | | | | | | | | | | | | | | * Record all file security metadata, even if the user never specified it in the first place. * Always store the mode as a string, otherwise everyone who uses the value has to know that an integer needs to be converted to octal for display
| * [CHEF-3557] Factor out windows security resource attrsdanielsdeleo2013-01-032-11/+37
| | | | | | | | | | | | Factor windows-specific file security code into modules so one can manually create a "windows-flavored" file resource for unit testing. There are better ways to do this (see comments), but this works for now.
| * [CHEF-3557] codify file metadata reporting behaviordanielsdeleo2013-01-031-0/+213
|/ | | | | Warning: tests not passing Add functional tests that describe how file metadata should be reported.
* Merge branch 'CHEF-3681'danielsdeleo2012-12-274-21/+167
|\
| * [CHEF-3681] Test LWPs with inline compilationdanielsdeleo2012-12-272-0/+68
| |
| * [CHEF-3681] cleanup whitespace in ResourceCollectiondanielsdeleo2012-12-271-21/+21
| |
| * [CHEF-3681] define #empty? for resource_collectiondanielsdeleo2012-12-271-0/+4
| |
| * [CHEF-3681] add inline compilation option for LWRPdanielsdeleo2012-12-271-0/+74
|/
* [CHEF-3724] correctly query the recipes attribute in Node#recipe?danielsdeleo2012-12-262-1/+31
| | | | | Also, coerce node[:recipes] to an Array so that Node#recipe? will work correctly when the recipes attribute has not been set.
* Merge pull request #567 from opscode/lcg/CHEF-3718lamont-opscode2012-12-211-0/+1
|\ | | | | CHEF-3718: pin systemu version for windows