summaryrefslogtreecommitdiff
path: root/lib/chef/provider/package/windows.rb
Commit message (Collapse)AuthorAgeFilesLines
* package provider cleanuplcg/package-cleanupLamont Granquist2017-02-111-3/+3
| | | | | | | | | - cleans up a lot of ivar usage - converts most providers to shell_out_compact_timeout! - almost deprecates a few APIs, but can't quite yet - windows providers need mixlib-shellout to take an argv Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Style/NumericPredicate comparison stylelcg/numericpredicateLamont Granquist2016-12-211-1/+1
| | | | | | | | | | | | | Apparently rubocop thinks the default behavior should be that we have to rewrite every use of `foo == 0` into `foo.zero?` which is a big pile of NOPE for me. After discovering that `.zero?` is actually slower, I'd prefer to go the other direction. Same for `positive?` and `negative?`. These are the only uses of `zero?` in the chef/chef codebase, while I'm pretty sure the inverse rule would touch nearly every file. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Fixed undefined short_cksum method issue and checksum in uppercase issue for ↵Aliasgar162016-09-201-1/+1
| | | | | | | | | | windows_package resource. (#5332) * Fixed undefined short_cksum method issue and checksum in uppercase issue for windows_package resource. * Added RSpecs for the changes done here. * Fixed RSpecs issues.
* Forward package cookbook_name to underlying remote_fileBaptiste Courtois2016-07-221-0/+2
|
* update to latest chefstyle - fix casecmptm/fix_casecmpThom May2016-04-201-1/+1
|
* fixes #4639 and returns true from define_resource_requirements for MSIsmsiMatt Wrock2016-02-291-1/+1
|
* fixed exe package downloadsMatt Wrock2016-02-221-30/+39
|
* auto fixing some rubocopsLamont Granquist2016-02-091-1/+1
| | | | | | | | | Style/NegatedWhile Style/ParenthesesAroundCondition Style/WhileUntilDo Style/WordArray Performance/ReverseEach Style/ColonMethodCall
* autofixing whitespace copsLamont Granquist2016-02-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | 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
* 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-11/+11
| | | | | | | 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.
* Correct uses of fail to raisetm/fix_failThom May2016-01-131-1/+1
| | | | Style/SignalException - 3
* fix some lint copsLamont Granquist2016-01-121-1/+1
| | | | | | | | | fixes the following offenses: 46 Lint/EndAlignment 21 Lint/BlockAlignment 3 Lint/SpaceBeforeFirstArg 1 Lint/DefEndAlignment
* fixing post merge test breaksMatt Wrock2015-12-151-1/+1
|
* non msi packages must explicitly provide a source attribute on installMatt Wrock2015-12-151-12/+21
|
* Use properties in package resourcesjk/package-propertiesJohn Keiser2015-12-151-2/+2
|
* adds support to installer types inno, nsis, wise and installshield top the ↵Matt Wrock2015-12-071-14/+95
| | | | windows_package resource
* download_file_missing? -> downloadable_file_missing?Jay Mundrawala2015-05-151-2/+2
|
* Surface checksum attributeJay Mundrawala2015-05-151-0/+16
|
* Allow users to override remote_file attributes in windows_packageJay Mundrawala2015-05-151-10/+18
|
* Refactor uri detectionJay Mundrawala2015-05-151-17/+7
|
* Modify windows package provider to allow urlJay Mundrawala2015-05-151-6/+76
|
* Make sure windows_service and windows_package resources are found with the ↵Serdar Sutay2014-10-281-2/+5
| | | | new dynamic provider resolver.
* CHEF-5322: Add utility for validating Windows pathsBryan McLellan2014-06-051-0/+3
|
* CHEF-5087: Add a Windows Installer package providerBryan McLellan2014-03-271-0/+80
Adds the framework for a windows package provider, which must determine the correct provider by examining metadata about the source file, or the source file itself. Provides FFI based access to the Windows Installer functions to retrieve metadata from the MSI files and from the Windows product database. Combines both of these into an MSI package provider. Continues to work alongside the windows_package LWRP.