summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Use the same python interpreter as yum when possiblessd/find-pythonSteven Danna2015-03-311-1/+29
| | | | | | | | 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-254-111/+89
| | | | | This reverts commit 4b0f63b90cc72365fccd3f4f2e07721de7af80e6, reversing changes made to b023ada18ed90bb9d2545760f93e6210e083dc8d.
* Revert "Merge pull request #2956 from chef/lcg/deploy-fixes"Jay Mundrawala2015-03-254-101/+243
| | | | | | | | This reverts commit 2603e2153d6ab50179d2278025a51579edb9033f, reversing changes made to a7f5c92960aedf8d5bfc71abbce430ab075e016a. Conflicts: CHANGELOG.md
* Fixed bug where module_name would return an object instead of stringjdm/dsc-resourceJay Mundrawala2015-03-251-1/+1
|
* Handle cookbook artfact format differences when fetching cookbookspolicyfile-erchef-integrationdanielsdeleo2015-03-252-2/+6
| | | | | | | | | 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-7/+40
|
* Use unix specific provider for cron on solarisjdm/solaris-cronJay Mundrawala2015-03-242-1/+3
|
* 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 #2881 from chef/jdm/dsc_resourceJay Mundrawala2015-03-2317-10/+706
|\ \ | | | | | | DscResource in core chef
| * | Useful error message when dsc resource is not foundJay Mundrawala2015-03-202-4/+12
| | |
| * | 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
| | |
| * | Guard ps_credential importJay Mundrawala2015-03-201-1/+1
| | |
| * | Refactor ps_credential for easier mockingJay Mundrawala2015-03-201-2/+8
| | |
| * | 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-201-10/+21
| | |
| * | 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-201-0/+8
| | |
| * | 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-201-1/+9
| | |
| * | Missing include in powershell dslJay Mundrawala2015-03-201-1/+1
| | |
| * | Update PowershelTypeCoercions to call to_psobjectJay Mundrawala2015-03-201-1/+4
| | |
| * | Added PSCredential objectJay Mundrawala2015-03-202-2/+34
| | |
| * | Forgot to add powershell dsl fileJay Mundrawala2015-03-201-0/+29
| | |
| * | Add integration point for ps_credential dslJay Mundrawala2015-03-202-0/+6
| | |
| * | Make things workJay Mundrawala2015-03-203-14/+15
| | |
| * | Added basic skeleton for DscResource providerJay Mundrawala2015-03-202-6/+118
| | |
| * | Add type coercion for hashJay Mundrawala2015-03-201-1/+9
| | |
| * | Added Powershell Type Coercion mixinJay Mundrawala2015-03-201-0/+50
| | |
| * | Add method to get LCM meta configurationJay Mundrawala2015-03-201-0/+6
| | |
| * | Added function to check if Invoke-DscResource is supportedJay Mundrawala2015-03-201-0/+7
| | | | | | | | | | | | Invoke-DscResource was introduced in Powershell 5.0.10018.0
| * | Added DelayedEvaluator to dsc_resourceJay Mundrawala2015-03-201-3/+18
| | |
| * | Update resources.rb to load DscResourceJay Mundrawala2015-03-201-0/+1
| | |
| * | Added dsc_resource resourceJay Mundrawala2015-03-201-0/+56
| | |
| * | Hexdigest the encrypted value by default for powershell compatJay Mundrawala2015-03-201-1/+2
| | |
| * | Added encrypt wrapperJay Mundrawala2015-03-201-0/+48
| | |
| * | Adding CryptProtectDataJay Mundrawala2015-03-201-0/+63
| | |
| * | Add parameter types for DPAPIJay Mundrawala2015-03-201-0/+2
| | |
| * | JSON needs to be kept separate from other outputJay Mundrawala2015-03-202-4/+38
| | | | | | | | | | | | | | | Write-Host and friends can utlimately poplute stdout. This renders the json invalid
| * | Remove unused codeJay Mundrawala2015-03-201-2/+0
| | |