summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
| * | Break super long string up onto multiple linesJay Mundrawala2015-03-201-2/+4
| | |
* | | Merge pull request #3118 from chef/ssd/opscode-lives-foreverBryan McLellan2015-03-231-1/+1
|\ \ \ | | | | | | | | Use opscode.com rather than chef.io in the bootstrap script.
| * | | Use opscode.com rather than chef.io in the bootstrap script.ssd/opscode-lives-foreverSteven Danna2015-03-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | chef.io is served by a CDN. The SSL certificate served will have *.chef.io as a Subject-Alternative-Name. Unfortunately, the wget version contained in RHEL5 (and potentially other old OS versions) does not support SAN. If we want to stay with chef.io, some alternative approaches include: - Documenting that users of RHEL5 should use --bootstrap-url if their OS image contains wget [0] - Prefering other download methods to wget. [0] EC2s stock RHEl5 images do not contain wget, but our bento-box images do.
* | | | Merge pull request #3109 from chef/jdm/openbsdJay Mundrawala2015-03-231-18/+49
|\ \ \ \ | |_|/ / |/| | | Fix openbsd package provider