summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Missed one spec in rpm_spec.rb.sersut/chef-rc-fixes-2Serdar Sutay2014-10-201-2/+2
|
* Disable data bag encryption v3 specs on ruby 1.9.X.sersut/chef-rc-fixesSerdar Sutay2014-10-202-3/+3
|
* Refer to rpm assets with the full path in specs.Serdar Sutay2014-10-202-2/+4
|
* Fix cron specs on Solaris.Serdar Sutay2014-10-201-1/+7
|
* Correctly turn off version 3 data bag encryption specs on windows.Serdar Sutay2014-10-204-3/+8
|
* Merge pull request #2216 from opscode/tball/bsd_package_nameTyler Ball2014-10-175-47/+216
|\ | | | | Notify a resource by the `resource[name]` key it was written as
| * 1) No longer allowing multiple args passed to ResourceCollection#<< 2) ↵tyler-ball2014-10-171-34/+1
| | | | | | | | removing ResourceCollection#insert_at
| * Cleaning up based on review commentstyler-ball2014-10-172-197/+188
| |
| * Added some documentation and cleaned up unecessary TODOs. Added first round ↵tyler-ball2014-10-161-0/+217
| | | | | | | | of specs for the new classes.
| * Refactoring ResourceCollection interface to be backwards compatiable, all ↵tyler-ball2014-10-163-5/+5
| | | | | | | | specs continue to pass, removing ResourceSet and ResourceList from consumer knowledge
| * Removing all traces of 'created_as_type' since that fix is no longer necessarytyler-ball2014-10-161-6/+0
| |
* | Error message update from PR comments.Serdar Sutay2014-10-161-1/+1
| |
* | Enable guard_interpreters for the execute resource and set the default ↵Serdar Sutay2014-10-162-0/+118
| | | | | | | | | | | | interpreter for the execute resource to be :execute. This ensures that attributes of the resource like :environment & :cwd can be inherited by the guard when guard is specified as a string.
* | Remove the "path" attribute from "execute" resource which has never been ↵Serdar Sutay2014-10-161-7/+0
| | | | | | | | backed by any providers.
* | Merge pull request #2222 from opscode/mcquin/centos-locale-aClaire McQuin2014-10-161-0/+89
|\ \ | | | | | | Better handling of locale -a output
| * \ Merge branch 'master' into mcquin/centos-locale-aClaire McQuin2014-10-164-51/+107
| |\ \
| * | | Use shell_out to get localesClaire McQuin2014-10-151-0/+89
| | | |
* | | | Merge pull request #2238 from opscode/sersut/chef-2174Serdar Sutay2014-10-161-0/+8
|\ \ \ \ | | | | | | | | | | Return correct value for tagged? when node[:tags] is nil.
| * | | | Add a unit test to check tagged? method with default node object.sersut/chef-2174Serdar Sutay2014-10-161-0/+8
| | |_|/ | |/| |
* | | | add test for retval from definitionLamont Granquist2014-10-161-0/+11
| | | |
* | | | convert to rspec 3Lamont Granquist2014-10-161-40/+38
| |_|/ |/| |
* | | file_spec: chdir into the temp directory so we don't leave test files in the ↵cdoherty-eliminate-spec-remnantsChris Doherty2014-10-151-0/+2
|/ / | | | | | | source root.
* | Remove unnecessary contexts in DSC functional specsAdam Edwards2014-10-141-44/+36
| |
* | DSC parameters should be passed even when there is no config data fileAdam Edwards2014-10-141-4/+57
| |
* | Merge pull request #2215 from opscode/tball/homebrew_fixTyler Ball2014-10-131-0/+9
|\ \ | | | | | | Fixing bug where tried to use the homebrew provider on OSX and didn't correctly check for lack of homebrew-specific attribute on the resource
| * | Fixing bug where tried to use the homebrew provider on OSX and didn't ↵tball/homebrew_fixtyler-ball2014-10-131-0/+9
| |/ | | | | | | correctly check for lack of homebrew-specific attribute on the resource
* | Merge pull request #2190 from opscode/jdmundrawala/issue-2169Jay Mundrawala2014-10-131-4/+4
|\ \ | |/ |/| Try to apply dsc configuration even if what-if fails
| * Try to apply dsc configuration even if what-if failsjdmundrawala/issue-2169Jay Mundrawala2014-10-081-4/+4
| |
* | Merge pull request #2208 from opscode/jdmundrawala/env-path-spec-fixJay Mundrawala2014-10-131-4/+3
|\ \ | | | | | | restore ENV['PATH'] in env_spec after test is complete
| * | Deal with nil system path in env_specjdmundrawala/env-path-spec-fixJay Mundrawala2014-10-111-4/+1
| | |
| * | restore ENV['PATH'] in env_spec after test is completeJay Mundrawala2014-10-101-1/+3
| | |
* | | Merge pull request #2211 from opscode/sersut/rebase-chef-2187Serdar Sutay2014-10-101-2/+14
|\ \ \ | | | | | | | | Rebase CHEF-2187: change default group mapping for SLES to gpasswd
| * \ \ Merge branch 'suse-group' of github.com:mapleoin/chefsersut/rebase-chef-2187Serdar Sutay2014-10-101-2/+14
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: spec/unit/platform_spec.rb
| | * | | change default group mapping for SLES to gpasswdIonuț Arțăriși2014-10-081-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gpasswd is the new default starting with SLES12, the groupmod command does not support the -A/-R commands for adding and removing users respectively
* | | | | Merge pull request #2207 from opscode/sersut/rebase-chef-1971Serdar Sutay2014-10-102-5/+17
|\ \ \ \ \ | |/ / / / |/| | | | Rebase CHEF-1971: Report a more appropriate error when no recipe is given
| * | | | Merge branch 'patch-1' of github.com:workmad3/chef into sersut/rebase-chef-1971sersut/rebase-chef-1971Serdar Sutay2014-10-102-5/+17
| |\ \ \ \
| | * | | | Ensuring no arguments interfere with testsDavid Workman2014-09-142-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pushed the ARGV.clear statement required for the apply_spec file up into a before(:suite).
| | * | | | Making sure the right data is used throughout the testDavid Workman2014-09-041-3/+4
| | | | | |
| | * | | | Fixing travis-ci failure.David Workman2014-09-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Travis-CI runs failed due to Chef::Application::Apply picking up the explicit --format parameter and attempting to use it. Using ARGV.clear before a call to @app.reconfigure fixes this failure for now. Also a whitespace modification in apply.rb
| | * | | | Fixing case of a nil recipe file with chef applyDavid Workman2014-09-031-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Raising the error 'No recipe file was provided' with a fatal! call when the recipe_name is nil. This case occurs when chef-apply is called without a recipe name argument. Also renamed the apply spec file to apply_spec so it is picked up by an rspec test run. Fixed a typo in the file where it was creating a 'Chef::Application::Recipe' for @app instead of 'Chef::Application::Apply'
* | | | | | Merge pull request #2170 from vaxvms/knife-status-json-outputSerdar Sutay2014-10-101-2/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add JSON output to knife status command
| * | | | | | Remove highline from status testNicolas Dupeux2014-10-061-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | knife status doesn't use highline anymore.
* | | | | | | Merge pull request #2203 from martinb3/masterSerdar Sutay2014-10-101-2/+29
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Allow `knife cookbook site share` to omit category
| * | | | | | | Adjust banner, error messagesMartin Smith2014-10-101-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per feedback from @sersut, distinguish between excption and simply Supermarket error or cookbook not found.
| * | | | | | | Allow `knife cookbook site share` to omit categoryMartin Smith2014-10-101-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a feature for knife to lookup the category on an existing cookbook. This enables uploading new versions of existing cookbooks with much less pain.
* | | | | | | | Merge pull request #2167 from alexpop/fix_knife_config_loggingSerdar Sutay2014-10-101-1/+18
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | print the path to the configuration file used
| * | | | | | | | print the path to the configuration file usedAlex Pop2014-10-041-1/+18
| | |/ / / / / / | |/| | | | | |
* | | | | | | | Merge pull request #2149 from JeanMertz/chef_client_no_check_files_subdirSerdar Sutay2014-10-102-0/+4
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | knife upload fails due to "wrong" ruby syntax in files/* file
| * | | | | | | | Skip checking files/**/*.rb files when doing syntax checksJean Mertz2014-10-082-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Chef should not be concerned with Ruby syntax in files delivered through the `cookbook_file` provider.
* | | | | | | | | Merge pull request #2079 from jbence/CHEF-2065Serdar Sutay2014-10-101-0/+46
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Use exact match to locate remote git-reference