Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Convert require to require_relative | Lamont Granquist | 2019-05-08 | 4 | -9/+9 |
| | | | | | | | This gives a speed boost since rubygems does not have to scan through every gem in the gemset in order to find the file. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
* | fix Layout/IndentHeredoc | Lamont Granquist | 2018-07-02 | 1 | -10/+10 |
| | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
* | fix Style/HashSyntax | Lamont Granquist | 2018-07-02 | 2 | -2/+2 |
| | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
* | mechanical conversion of most debug log statements to trace | Thom May | 2018-03-26 | 3 | -6/+6 |
| | | | | Signed-off-by: Thom May <thom@chef.io> | ||||
* | MSYS-684: Added parser for DSC configuration | piyushawasthi | 2017-10-05 | 2 | -18/+73 |
| | | | | Signed-off-by: piyushawasthi <piyush.awasthi@msystechnologies.com> | ||||
* | Code refactor and add spec for powershell version 5 | piyushawasthi | 2017-09-12 | 1 | -1/+0 |
| | | | | Signed-off-by: piyushawasthi <piyush.awasthi@msystechnologies.com> | ||||
* | Refactor all command line options into lcm_command() | Bryan McLellan | 2017-09-12 | 1 | -12/+13 |
| | | | | Signed-off-by: Bryan McLellan <btm@loftninjas.org> | ||||
* | MSYS-656 - fixed dsc_script for WMF5 | piyushawasthi | 2017-09-12 | 1 | -5/+15 |
| | | | | Signed-off-by: piyushawasthi <piyush.awasthi@msystechnologies.com> | ||||
* | fix specs: RedundantReturn, RedundantSelf, RedundantBegin | Lamont Granquist | 2017-02-13 | 1 | -1/+1 |
| | | | | | | department of redundancy department Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
* | fix Style/NilComparison | Lamont Granquist | 2016-12-06 | 1 | -1/+1 |
| | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
* | set erroraction stop instead of continue | NimishaS | 2016-09-30 | 1 | -1/+1 |
| | | | | Signed-off-by: NimishaS <nimisha.sharad@msystechnologies.com> | ||||
* | autofixing Style/RedundantException cop | Lamont Granquist | 2016-08-16 | 1 | -1/+1 |
| | |||||
* | chefstyle Style/AndOr fixes | Lamont Granquist | 2016-03-14 | 2 | -2/+2 |
| | | | | | this is part of our informal style guide, lets make it formal since clearly its not getting followed very well. | ||||
* | pull rubocop 0.37.2 into chefstyle | Lamont Granquist | 2016-02-12 | 1 | -1/+1 |
| | | | | | this is from the same ruleset that we had, but the new code catches more conditions. | ||||
* | auto fixing some rubocops | Lamont Granquist | 2016-02-09 | 1 | -5/+5 |
| | | | | | | | | | Style/NegatedWhile Style/ParenthesesAroundCondition Style/WhileUntilDo Style/WordArray Performance/ReverseEach Style/ColonMethodCall | ||||
* | autofixing whitespace cops | Lamont Granquist | 2016-02-05 | 5 | -94/+93 |
| | | | | | | | | | | | | | | | | | | | | | | 4174 Style/SpaceInsideHashLiteralBraces 1860 Style/SpaceAroundOperators 1336 Style/SpaceInsideBlockBraces 1292 Style/AlignHash 997 Style/SpaceAfterComma 860 Style/SpaceAroundEqualsInParameterDefault 310 Style/EmptyLines 294 Style/IndentationConsistency 267 Style/TrailingWhitespace 238 Style/ExtraSpacing 212 Style/SpaceBeforeBlockBraces 166 Style/MultilineOperationIndentation 144 Style/TrailingBlankLines 120 Style/EmptyLineBetweenDefs 101 Style/IndentationWidth 82 Style/SpaceAroundBlockParameters 40 Style/EmptyLinesAroundMethodBody 29 Style/EmptyLinesAroundAccessModifier 1 Style/RescueEnsureAlignment | ||||
* | Update all auth email address from opscode.com and getchef.com to chef.io. | Noah Kantrowitz | 2016-02-02 | 3 | -3/+3 |
| | | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi" | ||||
* | Manual fix ups for things that didn't follow the usual pattern. | Noah Kantrowitz | 2016-02-02 | 3 | -3/+3 |
| | |||||
* | Copyright year update for 2016 and massive cleanup. | Noah Kantrowitz | 2016-02-02 | 1 | -1/+1 |
| | | | 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" | ||||
* | Use double quotes by default | Thom May | 2016-01-14 | 4 | -24/+24 |
| | | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing. | ||||
* | chefstyle: fix Lint/StringConversionInInterpolation | Lamont Granquist | 2016-01-12 | 1 | -1/+1 |
| | | | | useless use of `"#{foo.to_s}"` | ||||
* | Useful error message when dsc resource is not found | Jay Mundrawala | 2015-03-20 | 1 | -1/+3 |
| | |||||
* | ResourceStore does not deal with exceptions | Jay Mundrawala | 2015-03-20 | 1 | -9/+3 |
| | | | | | Also, added a more specific exception for when we cannot find the resource | ||||
* | Update dsc_resource provider to work with 3rd party resources | Jay Mundrawala | 2015-03-20 | 1 | -1/+1 |
| | | | | | | | | | | | | 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 dsc | Jay Mundrawala | 2015-03-20 | 1 | -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. | ||||
* | Added basic skeleton for DscResource provider | Jay Mundrawala | 2015-03-20 | 1 | -6/+0 |
| | |||||
* | Add method to get LCM meta configuration | Jay Mundrawala | 2015-03-20 | 1 | -0/+6 |
| | |||||
* | Merge pull request #2779 from chef/jdm/dsc_script_imports | Jay Mundrawala | 2015-02-12 | 1 | -6/+30 |
|\ | | | | | Allow dsc_script to import dsc resources | ||||
| * | Modified dsc_script imports to not use hash rocket | Jay Mundrawala | 2015-02-08 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New Syntax: dsc_script 'Foo' do imports "FooModule", "FooResource", "BarResource" ... end or dsc_script 'Foo' do imports "FooModule" ... end | ||||
| * | Modified dsc_script resource provider to use the imports hash | Jay Mundrawala | 2015-01-20 | 1 | -6/+30 |
| | | |||||
* | | dsc_script passes timeout to lcm shellout | Jay Mundrawala | 2015-02-10 | 1 | -7/+7 |
|/ | |||||
* | Rename Chef::Exceptions::LCMParserException to Chef::Exceptions::LCMParser | Jay Mundrawala | 2014-12-17 | 2 | -2/+2 |
| | |||||
* | Fix bug where error parser what-if output causes resource to be considered ↵ | Jay Mundrawala | 2014-12-17 | 2 | -4/+8 |
| | | | | | | | converged. We now fall back to assuming the resource is not converged if we cannot parse information about a dsc resource. | ||||
* | Refactored local_configuration_manager to use function to test for what-if ↵ | Jay Mundrawala | 2014-10-22 | 1 | -8/+12 |
| | | | | support | ||||
* | Improve detection missing WhatIf support | Bob | 2014-10-22 | 1 | -1/+1 |
| | | | From output of Whatif-run, do not replace line break by space, as this breaks the match if the break was done within a word. | ||||
* | Renamed output_has_dsc_module_failure to dsc_module_import_failure | Jay Mundrawala | 2014-10-22 | 1 | -2/+2 |
| | |||||
* | Try to apply dsc configuration even if what-if failsjdmundrawala/issue-2169 | Jay Mundrawala | 2014-10-08 | 1 | -3/+3 |
| | |||||
* | lcm parser is a lot more forgiving | Jay Mundrawala | 2014-09-19 | 1 | -78/+33 |
| | |||||
* | Switch fileformat to unix, clean up whitespace. | Bryan McLellan | 2014-09-19 | 2 | -6/+6 |
| | | | | | Converts a few files from CRLF->LF. Removes some trailing whitespace as well. | ||||
* | Explicitly require erroraction continue for predictability, consistency in ↵ | Adam Edwards | 2014-09-19 | 1 | -2/+2 |
| | | | | match conditional | ||||
* | No erroraction stop since that filters the excepiton | Adam Edwards | 2014-09-19 | 1 | -3/+3 |
| | |||||
* | Correctly handle dsc resource import failures | Adam Edwards | 2014-09-19 | 1 | -32/+20 |
| | |||||
* | Expose exit_code for cmdlet_result and use to detect DSC resource ↵ | Adam Edwards | 2014-09-19 | 1 | -1/+1 |
| | | | | installation problems | ||||
* | Fixup use of status.exitcode to status.status.exitstatus | Adam Edwards | 2014-09-19 | 1 | -1/+1 |
| | |||||
* | Handle not installed DSC resource errors from LCM | Adam Edwards | 2014-09-19 | 1 | -3/+10 |
| | |||||
* | Set exit code from start-dscconfiguraiton to enable identification of DSC errors | Adam Edwards | 2014-09-19 | 1 | -1/+22 |
| | |||||
* | Deal with LCM failing when a resource does not support WhatIf | Jay Mundrawala | 2014-09-19 | 3 | -8/+30 |
| | |||||
* | Added unit tests for configuration_generator | Jay Mundrawala | 2014-09-19 | 1 | -1/+1 |
| | |||||
* | Add configurationdata attribute support | Adam Edwards | 2014-09-19 | 1 | -1/+1 |
| | |||||
* | Parse WhatIf from LCM | Jay Mundrawala | 2014-09-19 | 3 | -23/+201 |
| |