summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3141 from chef/jdm/12.2.0.rc.112.2.0.rc.112-stableJay Mundrawala2015-03-245-7/+14
|\ | | | | Prepare 12.2.0.rc.1
| * Prepare Chef 12.2.0.rc.1Jay Mundrawala2015-03-241-1/+1
| |
| * Merge remote-tracking branch 'origin/master' into HEADJay Mundrawala2015-03-244-6/+13
| |\ |/ / | | | | | | | | | | | | | | * origin/master: Use unix specific provider for cron on solaris Disable Cmdlet tests on old versions of powershell Change 'should' to 'must' Using warning suggested by @btm Clarify warning
| * Merge pull request #3139 from chef/jdm/solaris-cronJay Mundrawala2015-03-242-1/+3
| |\ | | | | | | Use unix specific provider for cron on solaris
| | * Use unix specific provider for cron on solarisjdm/solaris-cronJay Mundrawala2015-03-242-1/+3
| | |
| * | Merge pull request #3138 from chef/jdm/powershell-cmdletJay Mundrawala2015-03-241-3/+3
| |\ \ | | |/ | |/| Disable Cmdlet tests on old versions of powershell
| | * 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 #2976 from pburkholder/pdb/gem_warnThom May2015-03-241-2/+7
| |\ | | | | | | Clarify warning
| | * Change 'should' to 'must'Peter Burkholder (@pburkholder)2015-03-241-1/+1
| | |
| | * Using warning suggested by @btmPeter Burkholder2015-03-131-4/+7
| | |
| | * Clarify warningPeter Burkholder2015-02-251-2/+4
| | |
* | | Merge pull request #3128 from chef/jdm/prepare-12.2.012.2.0.rc.0Jay Mundrawala2015-03-24114-691/+2449
|\ \ \ | | | | | | | | prepare 12.2.0 RC 0
| * | | Udpate CHANGELOG for 12.2.0jdm/prepare-12.2.0Jay Mundrawala2015-03-231-21/+2
| | | |
| * | | Merge remote-tracking branch 'origin/master' into jdm/prepare-12.2.0Jay Mundrawala2015-03-23114-690/+2467
| |\ \ \ |/ / / / | | _ / | | / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/master: (168 commits) DOC_CHANGES for #2881 Update Changelog for #2881 Updated changelog for #3109 Added more specs for openbsd provider unit tests Add guard to only run dsc_resource specs on valid powershell Added basic functional tests using File dsc resource Useful error message when dsc resource is not found Added skeleton for function dsc_resource spec spec to assert failure in the case where RefreshMode is not set to Disabled spec for when Invoke-DscResource is available and RefreshMode=Disabled Added test for when powershell does not support Invoke-DscResource Added skeleton of dsc_resource provider unit spec Remove unused node object in ps_credential_spec Added spec for resource_store Don't test the current state of the resource until the action is run ResourceStore does not deal with exceptions Better error message in define_resource_requirements Use correct minimum powershell version in spec Guard ps_credential import Better formatting for ps_credential spec ... Conflicts: DOC_CHANGES.md RELEASE_NOTES.md lib/chef/version.rb
| * | Merge pull request #3127 from chef/jdm/dsc-changelogJay Mundrawala2015-03-232-0/+73
| |\ \ | | | | | | | | Jdm/dsc changelog
| | * | DOC_CHANGES for #2881Jay Mundrawala2015-03-231-0/+72
| | | |
| | * | Update Changelog for #2881Jay Mundrawala2015-03-231-0/+1
| |/ /
| * | Merge pull request #3117 from chef/jdm/dsc-rel-notesJay Mundrawala2015-03-231-126/+118
| |\ \ | | | | | | | | DSC Resource release notes
| | * | Release notes for dsc_resourcejdm/dsc-rel-notesJay Mundrawala2015-03-201-126/+118
| | | |
| * | | Merge pull request #2881 from chef/jdm/dsc_resourceJay Mundrawala2015-03-2326-10/+1236
| |\ \ \ | | | | | | | | | | 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-203-6/+22
| | | | |
| | * | | 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
| | | | |
| | * | | Don't test the current state of the resource until the action is runJay Mundrawala2015-03-201-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `load_current_resource` is not guarded by `define_resource_requirements`. This means that we would try to load the resource even if we didn't have a valid version of Powershell.
| | * | | ResourceStore does not deal with exceptionsJay Mundrawala2015-03-203-15/+32
| | | | | | | | | | | | | | | | | | | | | | | | | Also, added a more specific exception for when we cannot find the resource
| | * | | Better error message in define_resource_requirementsJay Mundrawala2015-03-201-2/+2
| | | | |
| | * | | Use correct minimum powershell version in specJay Mundrawala2015-03-201-1/+1
| | | | |
| | * | | Guard ps_credential importJay Mundrawala2015-03-201-1/+1
| | | | |
| | * | | Better formatting for ps_credential specJay Mundrawala2015-03-201-1/+2
| | | | |
| | * | | Refactor ps_credential for easier mockingJay Mundrawala2015-03-202-7/+10
| | | | |
| | * | | Display information from DSCJay Mundrawala2015-03-202-2/+11
| | | | |
| | * | | Add verbose streamJay Mundrawala2015-03-201-3/+6
| | | | |
| | * | | Reorganize powershell_type_coercionsJay Mundrawala2015-03-201-13/+15
| | | | |
| | * | | Remove unused codeJay Mundrawala2015-03-201-6/+6
| | | | |
| | * | | Escape strings when they contain a special characterJay Mundrawala2015-03-202-10/+32
| | | | |
| | * | | dsc_resource provider honors module_name is providedJay Mundrawala2015-03-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dsc_resource "xSmbShare" do resource :xSmbShare module_name :xSmbShare property :Name, 'SMBShare1' property :Path, 'C:\Users\vagrant' property :Ensure, 'Present' end This is much faster to execute as we do not have to get a list of all the resources
| | * | | Added module_name to dsc_resourceJay Mundrawala2015-03-202-1/+14
| | | | |
| | * | | Update dsc_resource provider to work with 3rd party resourcesJay Mundrawala2015-03-202-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An example resource: ```ruby dsc_resource "xSmbShare" do resource :xSmbShare property :Name, 'SMBShare1' property :Path, 'C:\Users\vagrant' property :Ensure, 'Present' end ```
| | * | | Added resource store for dscJay Mundrawala2015-03-201-0/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a cache that will be used to lookup the module name for resources. If in the future we decide to do any validation, the data for that can is available.
| | * | | Reorganize nesting for powershell classesJay Mundrawala2015-03-202-2/+10
| | | | |
| | * | | Allow with_os_architecture to figure things outJay Mundrawala2015-03-201-0/+8
| | | | |
| | * | | Added type coercsion for arrayJay Mundrawala2015-03-202-1/+13
| | | | |
| | * | | Missing include in powershell dslJay Mundrawala2015-03-201-1/+1
| | | | |