summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Refactor Chef::Mixin::WideString to remove implicit Windows dependency.mcquin/refactor-wstringClaire McQuin2015-09-0114-87/+96
|
* Patch Win32::Registry#write on Ruby 2.1, resolves encoding errorsmcquin/monkeypatch-win32-registry-writeClaire McQuin2015-08-311-0/+27
|
* Fix constantSalim Alam2015-08-311-1/+1
|
* Prep for Registry FFI; Convert RegDeleteKeyEx to FFIsalam/registry-ffichefsalim2015-08-302-2/+57
|
* Remove unused thingsJay Mundrawala2015-08-281-53/+1
|
* FFI NetUseAddJay Mundrawala2015-08-283-5/+37
|
* FFI NetUseGetInfoJay Mundrawala2015-08-283-11/+50
|
* Create StructHelperJay Mundrawala2015-08-281-38/+42
|
* Use FFI for NetUseDelJay Mundrawala2015-08-283-4/+42
|
* Rename NetUser -> NetJay Mundrawala2015-08-281-1/+2
|
* Make win32/api/net.rb look nicerjdm/net-api-styleJay Mundrawala2015-08-281-11/+28
|
* speed improvement for remote_directory() resourceIgor Shpakov2015-08-271-1/+1
| | | | | | | | | | | | | | | | problem: doing ls(path) for a very large directory with > 1.8mil files takes upwards of 10 minutes. solution: change filtering stage from files.reject! to files.reject files.reject! does in place filtering and it looks like it copies the whole array for every deletion. in my example it filtered out 300k rows, so that's 300k array copies. switching to files.reject decreases the runtime of that function from 650seconds down to 6-7 seconds.
* Stop using @instance_variableJay Mundrawala2015-08-271-5/+9
|
* Remove unused thingsJay Mundrawala2015-08-271-5/+0
|
* Use ffi for GetVolumeNameForVolumeMountPointJay Mundrawala2015-08-273-5/+18
|
* Convert SetVolumeMountPoint to use ffiJay Mundrawala2015-08-273-2/+17
|
* Rewrite DeleteVolumeMountPoint to use FFIJay Mundrawala2015-08-273-5/+21
|
* Merge pull request #3760 from chef/ksubrama/rake_taskKartik Null Cating-Subramanian2015-08-261-2/+2
|\ | | | | Refactor all the gem building logic into a custom rake task.
| * Run rake version to get updates.Kartik Null Cating-Subramanian2015-08-251-2/+2
| |
* | Merge pull request #3772 from chef/jdm/dsc-script-ps-credJay Mundrawala2015-08-252-0/+6
|\ \ | |/ |/| Add ps_credential dsl method to dsc_script
| * Add ps_credential dsl method to dsc_scriptJay Mundrawala2015-08-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | You can now do the following: ```ruby dsc_script 'create-foo-user' do code <<-EOH User FooUser00 { Ensure = "Present" UserName = 'FooUser00' Password = #{ps_credential('FooBarBaz1!')} } EOH configuration_data <<-EOH @{ AllNodes = @( @{ NodeName = "localhost"; CertificateID = 'A8DB81D8059F349F7EF19104399B898F701D4167' } ) } EOH end ```
| * Add to_s to ps_credentialJay Mundrawala2015-08-251-0/+4
| |
* | Merge pull request #3307 from chef/ssd/rehashSteven Danna2015-08-2510-200/+527
|\ \ | | | | | | Add knife-rehash command for subcommand location hashing
| * | Fix copyright notice in gem_glob_loaderssd/rehashSteven Danna2015-08-251-1/+1
| | |
| * | Mark custom manifests as deprecatedSteven Danna2015-08-251-1/+1
| | |
| * | Use Chef::Log.deprecation for deprecation warningSteven Danna2015-08-251-1/+1
| | |
| * | Be explicit about 'knife rehash' in subcommand_not_foundAlex Pop2015-08-251-1/+1
| | |
| * | Add tests for HashedCommandLoaderSteven Danna2015-08-251-1/+1
| | |
| * | Fix typo and authorship of custom_manifest_loader.Steven Danna2015-08-251-2/+1
| | | | | | | | | | | | I didn't write custom_manifest_loader, I just moved it.
| * | Add banners to rehash and null pluginsSteven Danna2015-08-252-0/+3
| | |
| * | Add debug-level messages about manifest path.Steven Danna2015-08-251-0/+2
| | | | | | | | | | | | | | | These message are only available if KNIFE_DEBUG is set because this happens before our configuration is loaded.
| * | Require 'chef/knife/bootstrap' when defining subclassesSteven Danna2015-08-252-0/+2
| | |
| * | Fix 'uninitialized constant Chef::DataBagItem' exception for 'from file' ↵Alex Pop2015-08-251-0/+1
| | | | | | | | | | | | subcommands
| * | Make subcommand_not_found message loader-specific to give more helpful error ↵Alex Pop2015-08-251-1/+7
| | | | | | | | | | | | message when using a plugin manifest.
| * | Guard against uninstalled but hashed knife pluginAlex Pop2015-08-251-1/+6
| | |
| * | Recursively create the manifest directory if missingAlex Pop2015-08-251-0/+2
| | |
| * | Remove confirmation and display path to the cache on create and updateAlex Pop2015-08-251-2/+2
| | |
| * | Add knife-rehash command for subcommand location hashingSteven Danna2015-08-257-199/+506
| |/ | | | | | | | | | | `knife rehash` stores the paths to knife plugins in a specially formatted plugin_manifest entry. This lowers the overhead of subsequent knife invocations.
* | fix supports hash issues in service providersLamont Granquist2015-08-258-14/+26
| | | | | | | | | | | | | | - redhat provider now allows the user to override :status - gentoo provider now allows the user to override :status and :restart - service providers now dup the status hash and mutate their private copy instead of mutating the new_resource
* | Merge pull request #3817 from chef/lcg/remove-gcLamont Granquist2015-08-251-2/+1
|\ \ | |/ |/| remove now-useless GC
| * remove now-useless GCLamont Granquist2015-08-241-2/+1
| |
* | Fix powershell_script validationJay Mundrawala2015-08-241-1/+4
|/ | | | | Powershell script validation did not use same architecture as executing the script. This caused configuring the LCM to fail.
* Validating is comparing to true instead of ruby truthinessPhil Dibowitz2015-08-211-1/+1
| | | | It should use truthiness.
* Merge pull request #3663 from docwhat/issue-3614Tyler Ball2015-08-211-6/+5
|\ | | | | Fix error message for providers without `provides`
| * Fix error message for providers without `provides`Christian Höltje2015-08-191-6/+5
| | | | | | | | | | | | | | | | | | | | | | The warning incorrectly said that the provider was missing `resource_name :resource` when it should have said it was missing `provides :resource` I also switched from using `begin`...`rescue` since it isn't needed and needlessly slow things up. Fixes #3614
* | fixes from code reviewLamont Granquist2015-08-202-2/+6
| |
* | green the broken testsLamont Granquist2015-08-201-1/+1
| |
* | inject yum_binary into YumCacheLamont Granquist2015-08-201-0/+3
| |
* | class namespacingLamont Granquist2015-08-201-1/+1
| |
* | add yum_binaryLamont Granquist2015-08-202-6/+20
| | | | | | | | | | | | set this to 'yum-deprecated' if /usr/bin/yum-deprecated exists so that we pick this up rather than getting /usr/bin/yum on systems that have DNF installed (assuming yum-deprecated is installed).