summaryrefslogtreecommitdiff
path: root/lib/chef/platform/query_helpers.rb
Commit message (Collapse)AuthorAgeFilesLines
* autofixing whitespace copsLamont Granquist2016-02-051-1/+0
| | | | | | | | | | | | | | | | | | | | | | 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-8/+8
| | | | | | | 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.
* WMF 5 RTM and Win 10 Threshold 2 allow the RefreshMode to be enabled.Steven Murawski2015-11-181-3/+14
|
* Lazy load MSI provider, add check for MSI supportsalam/lazy-msiSalim Alam2015-09-221-0/+16
|
* Don't add win_evt logger when on nano.Claire McQuin2015-09-181-1/+23
|
* Rename refresh_mode_disabled? to dsc_refresh_mode_disabled?mcquin/dsc_resource_specClaire McQuin2015-09-081-1/+1
|
* Skip tests unless RefreshMode is DisabledClaire McQuin2015-09-081-0/+7
|
* Add ability to specify dependencies in chef-service-manager.Kartik Null Cating-Subramanian2015-07-241-4/+1
|
* Use executionpolicy Bypass in powershell_script provider for PS 3.0 and lateradamedx2015-05-291-0/+5
|
* Stub `windows?` on ChefConfig so it applies to configdanielsdeleo2015-05-201-5/+1
|
* Added function to check if Invoke-DscResource is supportedJay Mundrawala2015-03-201-0/+7
| | | | Invoke-DscResource was introduced in Powershell 5.0.10018.0
* Removing ole_initialize/uninitializejdm/win-seg-faultJay Mundrawala2014-12-181-3/+0
| | | | This seems to stop ruby from seg faulting on Windows
* DscScript resource will raise an error if dsc is not availableJay Mundrawala2014-09-191-1/+5
|
* Remove duplicate requireadamedx2014-05-301-2/+0
|
* Use wmi-lite gem dependency for wmi accessAdam Edwards2014-05-301-1/+1
|
* Move Windows-only deps to Windows only code pathAdam Edwards2014-05-301-2/+2
|
* Re-implement ruby-wmi functionalityAdam Edwards2014-05-301-1/+2
|
* Use wmi-lite gem dependency for wmi accessAdam Edwards2014-05-301-2/+2
|
* Move Windows-only deps to Windows only code pathAdam Edwards2014-05-301-2/+2
|
* Re-implement ruby-wmi functionalityAdam Edwards2014-05-301-3/+5
|
* Fix Windows 2003 CI issues:sersut2014-03-281-1/+3
| | | | | - Make sure that return value is preserved windows_server_2003? - Disable version_specs on 2003 since the API is not supported.
* CHEF-4888: Call WIN32OLE.ole_initialize in sub-threadsBryan McLellan2014-03-241-1/+7
| | | | | | | | | | An exception is raised when loading WIN32OLE (including via ruby-wmi) in one thread and used in a sub-thread without calling ole_initialize in that thread. This is common in irb/chef-shell's sub-shells that are created in recipe_mode and attribute_mode. Since it will be a while before this is fixed in Ruby and ruby-wmi/rdp-ruby-wmi are stale, we workaround the bug here. Ruby issue: https://bugs.ruby-lang.org/issues/2618
* [CHEF-4157] split Platform to prune dep graphdanielsdeleo2013-05-031-0/+42
Many files/classes depend on Chef::Platform just to use the `windows?` method. The part of Chef::Platform that maps providers to platforms has very heavy dependencies (which may trigger circular deps when loading some files) which are not needed for most users of Chef::Platform.