summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [CHEF-4117] fix resource attempting to remove constants it doesn't havedanielsdeleo2013-04-233-1/+9
| | | | | | Module.const_defined?() needs to be given an optional second argument to disable constant lookups on ancestor classes. Otherwise LWRP creation may attempt to remove a constant that does not exist.
* Merge branch 'CHEF-3432'danielsdeleo2013-04-224-30/+70
|\
| * [CHEF-3432] explain class var usage for resource_classesdanielsdeleo2013-04-221-0/+3
| |
| * [CHEF-3432] fix leak of LWRP resource classesdanielsdeleo2013-04-182-3/+24
| |
| * [CHEF-3432] tidy up fixture path generation in LWRP specsdanielsdeleo2013-04-181-5/+5
| |
| * [CHEF-3432] Move LWRP override tests into main describe blockdanielsdeleo2013-04-181-27/+28
| |
| * [CHEF-3432] use shared variable to track resource subclassesdanielsdeleo2013-04-182-1/+16
|/ | | | | | Use a class (@@var) instead of class instance variable to track subclasses of Chef::Resource. This ensures that subclasses of subclasses will be added to the list.
* [CHEF-2467] Add tests and fix grammar.Steven Danna2013-04-181-2/+15
|
* [CHEF-2467] Ensure Shef loads run_context using correct run_list and ↵Steven Danna2013-04-181-2/+2
| | | | | | | | environment. Currently, Shef in client-mode will not properly process attributes set in roles or environments since we assume an empty runlist and the _default environment when building the node.
* Merge branch 'CHEF-3348'Bryan McLellan2013-04-181-5/+6
|\
| * better CHANGELOG markdown formatSeth Vargo2013-04-181-5/+6
|/
* [CHEF-3516] force knife to exit when an Errno::EPIPE exception is receivedXabier de Zuazo2013-04-181-0/+3
|
* [CHEF-3516] raise Errno::EPIPE exceptions with -VVXabier de Zuazo2013-04-182-3/+14
|
* [CHEF-3516] Some knife commands emit Errno::EPIPE when used in a pipelineXabier de Zuazo2013-04-182-3/+39
|
* Merge pull request #720 from opscode/fix-config-spec-win-failuresSeth Chisamore2013-04-171-7/+5
|\ | | | | [CHEF-4011] use `platform_specific_path` helper in specs
| * [CHEF-4011] use `platform_specific_path` helper in specsSeth Chisamore2013-04-171-7/+5
|/ | | | | | | | | | | | | | | | This will fix the following test failures when specs are run on Windows: 1) Chef::Config Chef::Config[:encrypted_data_bag_secret] /etc/chef/encrypted_data_bag_secret exists sets the value to /etc/chef/encrypted_data_bag_secret Failure/Error: require 'chef/config' <File (class)> received :exist? with unexpected arguments expected: ("/etc/chef/encrypted_data_bag_secret") got: ("C:\\chef\\encrypted_data_bag_secret") Please stub a default value first if message might be received with other args as well. # C:/jenkins/workspace/chef-ruby1.9.2-windows/lib/chef/config.rb:280:in `<class:Config>' # C:/jenkins/workspace/chef-ruby1.9.2-windows/lib/chef/config.rb:25:in `<class:Chef>' # C:/jenkins/workspace/chef-ruby1.9.2-windows/lib/chef/config.rb:24:in `<top (required)>' # C:/jenkins/workspace/chef-ruby1.9.2-windows/spec/unit/config_spec.rb:273:in `require' # C:/jenkins/workspace/chef-ruby1.9.2-windows/spec/unit/config_spec.rb:273:in `block (3 levels) in <top (required)>'
* Merge pull request #714 from jjasghar/masterjamescott2013-04-161-1/+1
|\ | | | | Typo in symliinks
| * Update deploy.rbJJ Asghar2013-04-121-1/+1
| | | | | | Typo in symliinks
* | [CHEF-3452] Fix expectation for frozen cookbook upload failureMatthew Horan & Ryan Ong2013-04-121-2/+4
| |
* | [CHEF-3452] uploading frozen cookbook version explodesZachary Stevens2013-04-122-10/+13
| | | | | | | | | | | | | | This change make Chef::CookbookUploader for testing whether a cookbook upload has failed due to a frozen version existing on the server. This fixes a regression introduced by 7c7b4ea1.
* | [CHEF-3452] Failing spec for frozen cookbook uploadMatthew Horan & Ryan Ong2013-04-121-3/+5
| |
* | Merge branch 'CHEF-3735'Bryan McLellan2013-04-121-1/+1
|\ \
| * | improved error messagePaul Mooring2013-04-121-1/+1
|/ /
* | Merge branch 'CHEF-3803'Bryan McLellan2013-04-122-4/+14
|\ \
| * | Add unit testsKristian Vlaardingerbroek2013-04-121-3/+13
| | |
| * | Check if mount options have changed in the enable actionKristian Vlaardingerbroek2013-04-121-1/+1
|/ /
* | Merge branch 'CHEF-3804'Bryan McLellan2013-04-122-1/+31
|\ \
| * | Remove string interpolation and adjust commentKristian Vlaardingerbroek2013-04-122-4/+7
| | |
| * | Add comment to regular expression and add unit testsKristian Vlaardingerbroek2013-04-122-0/+27
| | |
| * | Fix regular expression for symlinks in device_mount_regexKristian Vlaardingerbroek2013-04-121-1/+1
|/ /
* | Merge branch 'CHEF-3819'Bryan McLellan2013-04-122-6/+49
|\ \
| * | execute check existense of sentiel file with respect to cwdPavel Valodzka2013-04-122-6/+49
|/ /
* | fix deprecation warning. Fixes CHEF-3847Darren Birkett2013-04-121-1/+1
| |
* | [CHEF-3872] Adding support for platform XCP/xcp, which is the open source ↵Javier Frias2013-04-121-0/+8
| | | | | | | | version
* | CHEF-3920: tighten wording to be more DRY.Andrea Campi2013-04-121-1/+1
| |
* | Merge branch 'CHEF-3937'Bryan McLellan2013-04-121-0/+1
|\ \ | |/ |/|
| * Added require 'chef/cookbook_uploader' to file 'chef/knife/cookbook_upload.rb'Stathy Touloumis2013-04-121-0/+1
|/
* CHEF-3938: create global config option for zypper gpg checksIonuț Arțăriși2013-04-113-11/+92
|
* Merge branch 'CHEF-3963'Bryan McLellan2013-04-116-15/+15
|\
| * removing an_return to as its deprecatedRanjib Dey2013-04-116-15/+15
|/
* Merge branch 'CHEF-3967'Bryan McLellan2013-04-111-1/+1
|\
| * Use HTTPS to RubyGemsH "Waldo" G2013-04-111-1/+1
|/ | | use https when connecting to rubygems to prevent MITM hacks
* Merge branch 'CHEF-3987'Bryan McLellan2013-04-111-8/+4
|\
| * returning self from << method as suggested by BryanKannan Manickam2013-04-111-0/+1
| |
| * removed duplicate for push in resource_collectionKannan Manickam2013-04-111-8/+3
|/
* [CHEF-4011] improve deprecation messageSeth Chisamore2013-04-111-2/+8
| | | | | | * Add a reference to CHEF-4011 for users who want more information on the deprecation. * Give users a pointer that `knife[:secret_file]` may still be used for previous behavior.
* Fix trailing whitespace. >_<Seth Chisamore2013-04-112-4/+4
|
* [CHEF-4011] s/Version1Decryptor/Version0Decryptor/Seth Chisamore2013-04-111-2/+2
| | | | | | | This properly matches the code in `Chef::EncryptedDataBagItem`: * Version0Decryptor == legacy YAML-based format * Version1Decryptor == preferred JSON-based format
* [CHEF-4011] add secret in knife.rb deprecation warningSeth Chisamore2013-04-112-0/+28
| | | | | This warning should only be displayed if a user has an 'encrypted_data_bag_secret' entry in their knife.rb file.
* [CHEF-4011] update bootstrap templates to read secret from contextSeth Chisamore2013-04-117-7/+7
|