summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Use the same python interpreter as yum when possiblessd/find-pythonSteven Danna2015-03-311-1/+35
| | | | | | | | We rely on a system python installation with the correct python libraries. To improve the chances that the python interpreter we call has the yum libary available, we use the same interpreter as yum uses. Fixes #3143
* Revert "Merge pull request #3004 from chef/lcg/deploy-provider-nillable"Jay Mundrawala2015-03-251-35/+0
| | | | | This reverts commit 4b0f63b90cc72365fccd3f4f2e07721de7af80e6, reversing changes made to b023ada18ed90bb9d2545760f93e6210e083dc8d.
* Revert "Merge pull request #2956 from chef/lcg/deploy-fixes"Jay Mundrawala2015-03-252-102/+61
| | | | | | | | This reverts commit 2603e2153d6ab50179d2278025a51579edb9033f, reversing changes made to a7f5c92960aedf8d5bfc71abbce430ab075e016a. Conflicts: CHANGELOG.md
* Handle cookbook artfact format differences when fetching cookbookspolicyfile-erchef-integrationdanielsdeleo2015-03-251-8/+28
| | | | | | | | | Cookbook artifacts differ in these ways: * the name field is the cookbook name instead of name+version * there is no "cookbook_name" field * cookbook artifacts don't have a json_class when downloaded from the server * there is an identifier field
* Update policyfile URLs and cookbook artifact data format per RFCdanielsdeleo2015-03-253-16/+74
|
* Disable Cmdlet tests on old versions of powershelljdm/powershell-cmdletJay Mundrawala2015-03-241-3/+3
| | | | | | | | | | cmdlet.rb uses stream redirection, which is not available in powershell 2. Since this is a helper class for our `dsc_script` and `dsc_resource`, this is a fairly safe change. While the verbose stream redirection is currently unused, it will be useful if Invoke-DscResource logs its verbose output to the verbose stream.
* Merge pull request #2881 from chef/jdm/dsc_resourceJay Mundrawala2015-03-239-0/+530
|\ | | | | DscResource in core chef
| * Add guard to only run dsc_resource specs on valid powershelljdm/dsc_resourceJay Mundrawala2015-03-201-0/+5
| |
| * Added basic functional tests using File dsc resourceJay Mundrawala2015-03-201-0/+36
| |
| * Useful error message when dsc resource is not foundJay Mundrawala2015-03-201-2/+10
| |
| * Added skeleton for function dsc_resource specJay Mundrawala2015-03-201-0/+44
| |
| * spec to assert failure in the case where RefreshMode is not set to DisabledJay Mundrawala2015-03-201-0/+12
| |
| * spec for when Invoke-DscResource is available and RefreshMode=DisabledJay Mundrawala2015-03-201-0/+28
| |
| * Added test for when powershell does not support Invoke-DscResourceJay Mundrawala2015-03-201-0/+13
| |
| * Added skeleton of dsc_resource provider unit specJay Mundrawala2015-03-201-0/+31
| |
| * Remove unused node object in ps_credential_specJay Mundrawala2015-03-201-4/+0
| |
| * Added spec for resource_storeJay Mundrawala2015-03-201-0/+76
| |
| * Use correct minimum powershell version in specJay Mundrawala2015-03-201-1/+1
| |
| * Better formatting for ps_credential specJay Mundrawala2015-03-201-1/+2
| |
| * Refactor ps_credential for easier mockingJay Mundrawala2015-03-201-5/+2
| |
| * Escape strings when they contain a special characterJay Mundrawala2015-03-201-0/+11
| |
| * Added module_name to dsc_resourceJay Mundrawala2015-03-201-1/+6
| |
| * Added type coercsion for arrayJay Mundrawala2015-03-201-0/+4
| |
| * Update PowershelTypeCoercions to call to_psobjectJay Mundrawala2015-03-201-0/+6
| |
| * Added PSCredential objectJay Mundrawala2015-03-201-0/+43
| |
| * Add spec to check that powershell dsl methods are usable inside dsc_resourceJay Mundrawala2015-03-201-0/+6
| |
| * Fix dsc_resource specJay Mundrawala2015-03-201-4/+4
| |
| * Add integration point for ps_credential dslJay Mundrawala2015-03-201-0/+4
| |
| * Add type coercion for hashJay Mundrawala2015-03-201-0/+5
| |
| * Added Powershell Type Coercion mixinJay Mundrawala2015-03-201-0/+46
| |
| * Added spec for supports_dsc_invoke_resource?Jay Mundrawala2015-03-201-0/+22
| |
| * spec for delayed evaluator in dsc_resourceJay Mundrawala2015-03-201-0/+10
| |
| * Added test for ensuring property_name is a Symbol in DscResourceJay Mundrawala2015-03-201-4/+12
| |
| * Added spec for dsc_resource providerJay Mundrawala2015-03-201-0/+56
| |
| * Added specJay Mundrawala2015-03-201-0/+57
| |
* | Merge pull request #3109 from chef/jdm/openbsdJay Mundrawala2015-03-231-17/+105
|\ \ | |/ |/| Fix openbsd package provider
| * Added more specs for openbsd provider unit testsjdm/openbsdJay Mundrawala2015-03-201-17/+105
| |
* | Fixup all specs to reference PathHelper.home.Kartik Null Cating-Subramanian2015-03-206-50/+56
|/
* Merge pull request #3086 from chef/ksubrama/test_fixKartik Null Cating-Subramanian2015-03-178-12/+12
|\ | | | | Fix faulty umask logic used in spec tests.
| * Fix faulty umask logic used in spec tests.Kartik Null Cating-Subramanian2015-03-168-12/+12
| |
* | We should not change how exceptions are raised if audit mode is disabledJay Mundrawala2015-03-171-21/+70
| |
* | Merge pull request #3064 from juliandunn/fix-audit-terminologyJulian C. Dunn2015-03-161-1/+1
|\ \ | | | | | | make audit terminology consistent
| * | Fix testJulian C. Dunn2015-03-111-1/+1
| | |
* | | Disable the exitstatus 3 testBryan McLellan2015-03-161-4/+1
| | | | | | | | | | | | | | | This relies on a timer and even though we increased it in #3039 we've still seen intermittent failures from it. Mark it volatile and move on.
* | | Assert that candidate_version gets set when yum resource uses sourceJay Mundrawala2015-03-161-0/+14
| |/ |/|
* | Merge pull request #3069 from chef/jdm/poshJay Mundrawala2015-03-131-1/+2
|\ \ | | | | | | Mark failing test as pending on versions of powershell < 4
| * | Mark failing test as pending on versions of powershell < 4jdm/poshJay Mundrawala2015-03-121-1/+2
| |/ | | | | | | | | This case has never worked before 6c724e866274a728bc66740ab352db7da7d7958f. It was fixed for 4, however it seems that does not apply to versions < 4.
* | Use FileUtils to delete directoryjdm/useradd-specsJay Mundrawala2015-03-121-1/+1
| |
* | Use less common dir namesJay Mundrawala2015-03-121-14/+14
| |
* | Use User resource to cleanupJay Mundrawala2015-03-121-5/+4
| |