summaryrefslogtreecommitdiff
path: root/spec/data
Commit message (Collapse)AuthorAgeFilesLines
* favor metadata.json over metadata.rbLamont Granquist2017-01-243-0/+57
| | | | | | | make sure that if we have a metadata.rb that is not valid to read that we never parse that and use compiled metadata.json instead. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* msu_package resource for Microsoft Update packagesNimishaS2016-11-163-0/+40
| | | | | | Signed-off-by: NimishaS <nimisha.sharad@msystechnologies.com> Signed-off-by: NimishaS <nimisha.sharad@msystechnologies.com>
* Updating knife ssl fetch to correctly store certificates when it does not ↵2919/ssl_fetch_no_cntyler-ball2016-10-311-0/+36
| | | | | | contain a common name. Stores the certificate under the URI host instead of the common name in that case Signed-off-by: tyler-ball <tyleraball@gmail.com>
* Fixed review commentsVasu11052016-09-303-0/+3
| | | | Signed-off-by: Vasu1105 <vasundhara.jagdale@clogeny.com>
* Attributes v1.1 changeslcg/attributes-v1.1Lamont Granquist2016-06-279-26/+18
| | | | | | | | | | | - fixes *_unless behavior and set_unless_value_present hack from Chef 12 - simplifies rm_* code - introduces functional read/write/unlink/exist? API - deprecates method_missing access to attributes for Chef 13 - deprecates set/set_unless aliases for Chef 14 - removes MultiMash mess that I wrote for Chef 13 https://github.com/chef/chef/pull/5029 for more details
* Filter out directory paths from all_files when loadinglist-unignored-filesdanielsdeleo2016-02-261-0/+0
|
* Add test file to fixture cookbookdanielsdeleo2016-02-261-0/+0
|
* Make chef-client read client.dJay Mundrawala2016-02-242-0/+2
| | | | | client.d/*.rb will be read in sorted order. All directories will be ignored.
* Copy client.d files during bootstrapJay Mundrawala2016-02-243-0/+4
| | | | | When knife finds a client.d/ directory, it will upload all files nested under that directory.
* Update for chef.io domain in copyright lines too.Noah Kantrowitz2016-02-023-3/+3
|
* Replace all Opscode copyrights with Chef Software.Noah Kantrowitz2016-02-023-6/+6
| | | Created via git ls-files | xargs perl -pi -e "s/(Copyright.*?), Opscode(,)? Inc(\.)?/\\1, Chef Software Inc./gi"
* Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-026-9/+9
| | | Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g"
* Merge pull request #4388 from chef/lcg/more-rubocop-lintThom May2016-01-131-2/+1
|\ | | | | more rubocop fixes
| * more rubocop fixeslcg/more-rubocop-lintLamont Granquist2016-01-121-2/+1
| | | | | | | | | | | | | | | | | | | | | | fixes: Lint/UnreachableCode Lint/NonLocalExitFromIterator Lint/LiteralInCondition Lint/EmptyEnsure Lint/DefEndAlignment Lint/CircularArgumentReference
* | add cookbook metadata that will fail testsJordan Evans2015-12-281-0/+5
|/ | | | | This cookbook metadata uses the supports method, which currently parses versions using the cookbook version parser, when it should be using the platform parser.
* rebuilt deb fixtures on 10.04 to fix 10.04Lamont Granquist2015-12-0932-966/+222
|
* dpkg multipackage and bonus fixesLamont Granquist2015-12-0228-0/+1011
| | | | | | | | - multipackages dpkg_package - fixes edge conditions in load-current-resource around purging/removing packages that threw errors before - fixes the ability to purge packages that have been removed - adds a lot of functional tests for dpkg_package
* Merge pull request #3510 from ckaushik/issue_2513Thom May2015-09-022-0/+2
|\ | | | | Fixing Issue #2513 - the broken render of nested partial templates
| * Fixing Issue #2513 - the broken render of nested partial templates with ↵Kaushik C2015-07-272-0/+2
| | | | | | | | | | | | variables Authors: Kaushik C <kaushik.chand@gmail.com>, Sam Dunne <sam@sam-dunne.com>
* | dsc_script ps_credential functional testjdm/dsc-script-ps-credJay Mundrawala2015-08-251-0/+0
| |
* | CHEF-5012: add methods for template breadcrumbsLamont Granquist2015-08-181-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | adds: - cookbook_name - recipe_name - recipe_line_string - recipe_path - recipe_line - template_name - template_path accessible both as instance var (@-) and method (bare), like @node/node.
* | Update certsjdm/update-certsJay Mundrawala2015-07-011-56/+53
| |
* | Make load/include recipe run in child contextjk/resource_actionsJohn Keiser2015-06-232-0/+27
|/
* Replace lookup_provider_constant and protect against deprecation in testsJohn Keiser2015-05-133-6/+50
|
* Convert "override LWRP" spec to one explicit check, be absolutelyJohn Keiser2015-05-131-0/+5
| | | | | sure it didn't load by creating a global module inside the LWRP and checking it outside
* Reduce size of nested JSON test to 252 deepbtm/lower-json-nest-testsBryan McLellan2015-04-201-2/+2
| | | | | | I got confused running git on the tester with my last commit for #3101. This should clean it up.
* Merge pull request #3102 from chef/btm/lower-json-nest-testsThom May2015-04-162-4/+2
|\ | | | | Reduce size of json nested entries
| * Reduce size of json nested entriesBryan McLellan2015-04-152-4/+2
| | | | | | | | | | | | | | | | On FreeBSD 10.1 i386 we're seeing rspec 3.2.2 raise SystemStackError if the expect line has a nested hash of 255 levels. I'm going to guess we don't even need this many. I lowered this test from 1000 to 300 arbitrarily some time ago. Fixes #3101
* | add resource_resolver and resource_priority_mapLamont Granquist2015-04-152-2/+3
|/ | | | also wire them up through the Chef class.
* fix masterLamont Granquist2015-01-251-0/+0
| | | | | | | | | | | | broken by merging #2431. code was actually broken and the specs were broken, not sure how it got into ready-to-merge in that state. rolled back the FileUtils.rm_rf that was in the original patch since it trashed my chef git repo and in light of: https://github.com/ValveSoftware/steam-for-linux/issues/3671 i think the rm_rf is a bad idea.
* try to add testsVasiliy Tolstov2015-01-251-0/+0
| | | | Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
* Added provides to provider in specJay Mundrawala2014-12-081-0/+1
|
* Added comment about change in bar.rbjdm/lwrp-providesJay Mundrawala2014-12-051-1/+1
|
* Added a provides to lwrp in spec to cover that caseJay Mundrawala2014-12-051-0/+1
| | | | Note -- This test fails
* 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 #2165 from coderanger/rfc017Serdar Sutay2014-10-102-0/+0
|\ \ | | | | | | RFC 17 implementation
| * | Tests for new loader behavior.Noah Kantrowitz2014-10-042-0/+0
| |/ | | | | | | | | Conflicts: spec/unit/cookbook_version_spec.rb
* | Merge pull request #2129 from JeanMertz/library_subfoldersSerdar Sutay2014-10-102-0/+7
|\ \ | | | | | | [CHEF-672] load library folder recursively
| * | load library folder recursivelyJean Mertz2014-10-022-0/+7
| |/
* | Merge pull request #2193 from opscode/sersut/no-lwrp-class-reloadSerdar Sutay2014-10-094-17/+21
|\ \ | | | | | | Don't override LWRP resources or providers anymore in Chef 12.
| * | Don't override LWRP resources or providers anymore in Chef 12.Serdar Sutay2014-10-084-17/+21
| |/
* | Fixing some more changes I missedtyler-ball2014-10-072-2/+2
|/
* fix typo in commentLamont Granquist2014-08-136-6/+6
|
* adding some comments to fixturesLamont Granquist2014-08-136-0/+12
|
* * Dscl user provider changes to support Mac 10.7, 10.8 & 10.9.Serdar Sutay2014-08-128-0/+2301
| | | | | | * Make the dscl user provider password handling idempotent. * Refactor / modernize dscl user provider unit tests. * Functional tests for dscl user provider.
* Make `name` a required attribute in metadatadanielsdeleo2014-08-129-0/+37
|
* Ignore non-critical errors when finding the cookbook setdanielsdeleo2014-08-123-0/+22
| | | | | | | | | | | | https://tickets.opscode.com/browse/CHEF-2923 When running `knife cookbook upload SPECIFIC_COOKBOOK`, errors in metadata files for unrelated cookbooks should not be raised; however, we must evaluate the metadata for all cookbooks in order to allow the metadata `name` attribute to be different from the cookbook directory's basename. Therefore, we must tolerate errors in metadata.rb and re-raise them only when attempting to load the cookbook with the invalid metadata.
* Respect metadata name attributedanielsdeleo2014-08-123-0/+20
| | | | Fixes CHEF-3307
* Ammended test data to allow unit tests to verify only erb files in the ↵Victor Hahn2014-07-281-0/+2
| | | | templates directory are considered in syntax checks