summaryrefslogtreecommitdiff
path: root/lib/chef/util
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup NetGroup classjdm/win-groupsJay Mundrawala2015-07-301-22/+9
|
* FFYify NetLocalGroupDelMembersJay Mundrawala2015-07-301-1/+6
|
* FFYify NetLocalGroupSetMembersJay Mundrawala2015-07-301-1/+5
|
* FFYify NetLocalGroupAddMembersJay Mundrawala2015-07-301-1/+5
|
* FFIify NetLocalGroupGetMembersJay Mundrawala2015-07-291-29/+4
|
* Add Win32NetAPIError exception classJay Mundrawala2015-07-291-4/+4
|
* Rewrite NetLocalGroupDel to use FFIJay Mundrawala2015-07-291-3/+4
|
* Convert NetLocalGroupAdd to use FFIJay Mundrawala2015-07-291-106/+109
|
* Fix up comments and default priority (when nothing matches)John Keiser2015-06-021-201/+3
|
* Use the central priority map for `provides`John Keiser2015-06-021-4/+201
|
* Fix backups on windows for the file resourceJay Mundrawala2015-05-271-1/+9
| | | | | | | | The backup utility was using Dir.[], which on breaks with \ in the path name. This code is replaces with listing the directory and matching the correct files This should solve #3394.
* Use PathHelper from chef-configdanielsdeleo2015-05-201-204/+3
|
* LogonUser uses ffi instead win32-apiJay Mundrawala2015-05-151-10/+9
|
* Move win32/user to win32/netJay Mundrawala2015-05-151-1/+1
|
* Removed unused thingsJay Mundrawala2015-05-151-85/+9
|
* NetUserDel uses ffi instead in win32-apiJay Mundrawala2015-05-151-3/+4
|
* NetUserSetInfo uses ffiJay Mundrawala2015-05-151-6/+5
|
* NetUserGetInfo uses ffiJay Mundrawala2015-05-151-13/+13
|
* Replace some user creation win32-api calls with ffiJay Mundrawala2015-05-151-12/+44
|
* Fix bug where unset HOME would cause chef to crashJay Mundrawala2015-03-261-3/+3
| | | | | | Issue #3153 When running chef with HOME unset (going to be a common case on the nixs), Chef will crash when it uses the all_homes function.
* Useful error message when dsc resource is not foundJay Mundrawala2015-03-201-1/+3
|
* ResourceStore does not deal with exceptionsJay Mundrawala2015-03-201-9/+3
| | | | | Also, added a more specific exception for when we cannot find the resource
* 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-201-0/+4
|
* Add verbose streamJay Mundrawala2015-03-201-3/+6
|
* Update dsc_resource provider to work with 3rd party resourcesJay Mundrawala2015-03-201-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 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
|
* Added PSCredential objectJay Mundrawala2015-03-201-0/+32
|
* Added basic skeleton for DscResource providerJay Mundrawala2015-03-201-6/+0
|
* Add method to get LCM meta configurationJay Mundrawala2015-03-201-0/+6
|
* 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
|
* Added a path helper to determine the home directory.Kartik Null Cating-Subramanian2015-03-201-0/+76
|
* fix Lint/BlockAlignmentlcg/unreachable-codeLamont Granquist2015-02-181-3/+3
|
* fix Lint/LiteralInConditionLamont Granquist2015-02-181-1/+1
|
* Merge pull request #2779 from chef/jdm/dsc_script_importsJay Mundrawala2015-02-121-6/+30
|\ | | | | Allow dsc_script to import dsc resources
| * Modified dsc_script imports to not use hash rocketJay Mundrawala2015-02-081-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 hashJay Mundrawala2015-01-201-6/+30
| |
* | dsc_script passes timeout to lcm shelloutJay Mundrawala2015-02-101-7/+7
| |
* | Util::Diff: remove Object::Encoding existence check (ruby 1.8 specific, ↵Xabier de Zuazo2015-01-271-4/+1
| | | | | | | | issue #2497)
* | Remove some RUBY_VERSION < 2 comparisons (ruby < 2 specific, issue #2497)Xabier de Zuazo2015-01-271-3/+0
|/
* Rename Chef::Exceptions::LCMParserException to Chef::Exceptions::LCMParserJay Mundrawala2014-12-172-2/+2
|
* Fix bug where error parser what-if output causes resource to be considered ↵Jay Mundrawala2014-12-172-4/+8
| | | | | | | converged. We now fall back to assuming the resource is not converged if we cannot parse information about a dsc resource.
* Merge branch 'typofixes-vlajos-20141107' of github.com:vlajos/chef into ↵tyler-ball2014-11-251-2/+2
|\ | | | | | | tball/contrib-pass
| * typo fixes - https://github.com/vlajos/misspell_fixerVeres Lajos2014-11-081-2/+2
| |
* | extract which to a mixin, use for systemctlLamont Granquist2014-11-081-10/+2
|/
* Refactored local_configuration_manager to use function to test for what-if ↵Jay Mundrawala2014-10-221-8/+12
| | | | support