summaryrefslogtreecommitdiff
path: root/lib/chef/resource/powershell_script.rb
Commit message (Collapse)AuthorAgeFilesLines
* Convert require to require_relativeLamont Granquist2019-05-081-1/+1
| | | | | | | 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>
* As per the review commentsNimesh-Msys2019-02-041-0/+36
| | | | | | | - Using `flags` attribute from resources itself - Fixed and add the required test cases Signed-off-by: Nimesh-Msys <nimesh.patni@msystechnologies.com>
* fix Style/HashSyntaxLamont Granquist2018-07-021-2/+2
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Add / update descriptionsTim Smith2018-03-261-8/+9
| | | | | | | Use the same format that the docs team approved throughout and make a few minor changes Signed-off-by: Tim Smith <tsmith@chef.io>
* Add descriptions and @since comments to all resourcesTim Smith2017-12-191-0/+8
| | | | | | From the docs site Signed-off-by: Tim Smith <tsmith@chef.io>
* set default guard_interpreter to powershell_scriptTor Magnus Rakvåg2017-03-301-1/+1
| | | | Signed-off-by: Tor Magnus Rakvåg <tm@intility.no>
* flip multiline function arguments aroundlcg/rubocop-0.37.2Lamont Granquist2016-02-191-1/+1
| | | | no enforced trailing comma on arguments...
* autofixing whitespace copsLamont Granquist2016-02-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | 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 Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi"
* Replace all Opscode copyrights with Chef Software.Noah Kantrowitz2016-02-021-1/+1
| | | Created via git ls-files | xargs perl -pi -e "s/(Copyright.*?), Opscode(,)? Inc(\.)?/\\1, Chef Software Inc./gi"
* Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-021-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 defaultThom May2016-01-141-1/+1
| | | | | | | 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.
* autocorrecting Style/TrailingCommalcg/trailing_commaLamont Granquist2016-01-131-1/+1
| | | | chefstyle -a fixed 1044 occurrances
* Overwrite resource_name with providesJohn Keiser2015-06-081-2/+0
|
* Add use_automatic_resource_nameJohn Keiser2015-06-011-1/+1
|
* Make resource_name call providesJohn Keiser2015-06-011-0/+1
|
* Move resource_name up to Resource, and figure out its value automaticallyJohn Keiser2015-06-011-1/+1
|
* provider_resolver migration from provider_mappingLamont Granquist2015-03-041-0/+2
| | | | | | | | - move macosx providers to dynamic resolution - move windows providers to dynamic resolution - move openbsd/netbsd providers to dynamic resolution - move all cron providers to dynamic resolution - move mdadm to static mapping
* fix specsLamont Granquist2015-02-231-2/+0
| | | | | reverts #get_default_attributes and #create_ace_with_mask_and_sid back to public methods, removes some redundant selfs
* fixes Lint/UselessAccessModifierLamont Granquist2015-02-231-2/+2
|
* powershell_script and batch resource guard_interpeter default to parent resourceAdam Edwards2014-10-231-2/+0
|
* CR feedback: fix misleading method name for setting inheritance, validate ↵Adam Edwards2014-03-291-1/+1
| | | | class inheritance prior to instantiation
* CR feedback: clean up convert boolean expressions and add testsAdam Edwards2014-03-291-8/+10
|
* CR feedback: move inheritance to class level, add tests for convert_boolean_trueAdam Edwards2014-03-291-1/+2
|
* CR feedback: boolean variable should use boolean false instead of ambiguous nilAdam Edwards2014-03-291-1/+1
|
* Guard resource new specs and spec fixesAdam Edwards2014-03-291-1/+1
|
* CHEF-4553: Add spec tests and fix broken examplesAdam Edwards2014-03-291-3/+2
|
* Method name change, ignore translated attributes that are not defined for ↵Adam Edwards2014-03-291-1/+1
| | | | the resource
* Interpolated boolean return support for powershell_scriptadamedx2014-03-291-1/+21
|
* Normalize whitespace on all filesSeth Vargo2013-09-261-3/+3
|
* OC-8337: Architecture functional test coverageadamedx2013-06-251-2/+2
|
* OC-8337: Add architecture functional test coverage, fix resource name collisionadamedx2013-06-251-0/+31