summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Lazy load MSI provider, add check for MSI supportsalam/lazy-msiSalim Alam2015-09-222-2/+18
|
* Configure named run list via command line or config filedanielsdeleo2015-09-211-0/+6
|
* Apply a named_run_list in policy builder via configurationdanielsdeleo2015-09-211-1/+35
|
* Don't add win_evt logger when on nano.Claire McQuin2015-09-182-2/+25
|
* Add `setup_chef_class` to Policyfile policy builderdanielsdeleo2015-09-172-1/+74
| | | | Also, mark internal public API as @private
* Update code comment to reflect realitydanielsdeleo2015-09-171-3/+1
|
* Document policy builder API on the dynamic builderdanielsdeleo2015-09-171-0/+56
|
* Use Forwardable to delegate in PolicyBuilder::Dynamicdanielsdeleo2015-09-171-32/+13
|
* Add policyfile attrs to knife "fuzzy" searchdanielsdeleo2015-09-171-1/+1
|
* Detect when user wants policyfile compat modedanielsdeleo2015-09-171-1/+8
|
* Show policyfile attributes in node presenterdanielsdeleo2015-09-171-1/+24
|
* Populate node policyfile attrs from JSONdanielsdeleo2015-09-171-0/+4
|
* Set the precedence of policyfile attrs and propagate them everywheredanielsdeleo2015-09-171-0/+43
|
* Add policyfile attrs to node create/savedanielsdeleo2015-09-171-2/+35
|
* Add policyfile attrs to node JSON when presentdanielsdeleo2015-09-171-0/+8
|
* Use the dynamic policy builder everywheredanielsdeleo2015-09-176-39/+15
|
* Add Dynamic PolicyBuilder to switch on policyfile modedanielsdeleo2015-09-172-0/+137
| | | | | | Now we need to switch PolicyBuilder implementations based on several factors instead of just a single config settings, including content of the node fetched from the Chef Server.
* Add policy_name and policy_group attrs to Node classdanielsdeleo2015-09-171-0/+49
|
* Rename Chef::Resource#current_resource -> Chef::Resource#current_valuemcquin/chef-3897Claire McQuin2015-09-171-1/+1
|
* Merge pull request #3809 from martinb3/frozen_error_inspectorThom May2015-09-151-5/+25
|\ | | | | Further revision for compile errors due to frozen
| * Further revision for compile errors due to frozenMartin Smith2015-08-211-5/+25
| | | | | | | | Per the discussion at the bottom of https://github.com/chef/chef/pull/3757, doing some further refinement of compile_error_inspector's message regarding frozen objects. Helps further address the original issue https://github.com/chef/chef/issues/3734.
* | Remove the warning about hashes and arrays as default valuesLamont Granquist2015-09-141-4/+0
| | | | | | | | | | | | | | | | | | | | - This isn't a bug to declare an LWRP default hash or array, its a bug to use the hash or array in such a way as to mutate it. A lot of LWRP authors will get this triggered on their code when none of their users are actually triggering the bug. - It would be better handled by freezing default values in Chef 13. - We could also just not try to solve this problem in code and treat it fundamentally as a documentation/education problem.
* | remove pending reboot check for ↵mwrock/reboot_pendingMatt Wrock2015-09-101-1/+2
| | | | | | | | HKLM\SOFTWARE\Microsoft\Updates\UpdateExeVolatile if not on windows 2003
* | Merge pull request #3896 from chef/jdm/webrick-monkeyJay Mundrawala2015-09-102-0/+56
|\ \ | | | | | | Add monkey patch for webrick
| * | Add monkey patch for webrickjdm/webrick-monkeyJay Mundrawala2015-09-082-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ruby 2.1 introduces a regression on Windows in WEBrick. create_listeners does not throw an exception when we're already listening on a port. This seems to only be an issue on Windows. This patch reverts it back to what it was in Ruby 2.0 It seems the regression was introduced in https://github.com/ruby/ruby/commit/b1f493dcd1092fe17cccec998e175516ed5c6e47#diff-4b178393150b2b3a5ec9d77eced1f09e
* | | Merge pull request #3895 from chef/mcquin/dsc_resource_specClaire McQuin2015-09-082-9/+12
|\ \ \ | |/ / |/| | Skip tests unless RefreshMode is Disabled
| * | Rename refresh_mode_disabled? to dsc_refresh_mode_disabled?mcquin/dsc_resource_specClaire McQuin2015-09-082-4/+4
| | |
| * | Skip tests unless RefreshMode is DisabledClaire McQuin2015-09-082-9/+12
| | |
* | | Merge pull request #3462 from chef/jdm/pscred-winrmSteven Murawski2015-09-081-1/+1
|\ \ \ | |/ / |/| | | | | Fix issue where ps_credential does not work over winrm
| * | Allow creation of secure strings over remoting/servicesjdm/pscred-winrmJay Mundrawala2015-06-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The issue here is the user profile does not get loaded when running over winrm / as a service. This user profile is needed to use the DPAPI to encrypt the data for the current user. Should fix #3246
* | | Move Win32::Registry#write monkeypatch into win32/registry monkeypatch file.Claire McQuin2015-09-042-30/+28
| | |
* | | Add file header.mcquin/monkeypatch-win32-registry-deleteClaire McQuin2015-09-031-0/+16
| | |
* | | Implement delete_key with Win32::Registry#delete_keyClaire McQuin2015-09-031-26/+13
| | |
* | | Remove access mask to RegDeleteKeyExW, it's not usefulClaire McQuin2015-09-032-4/+2
| | |
* | | Monkey-patch Win32::Registry::API::DeleteKey for Win32::Registry#delete_keyClaire McQuin2015-09-032-9/+15
| | |
* | | Monkey-patch Win32::Registry::API::DeleteValue for Win32::Registry#delete_value.Claire McQuin2015-09-033-0/+33
| | |
* | | review fixesLamont Granquist2015-09-021-9/+7
| | | | | | | | | | | | | | | - convert to Set - use #override?
* | | refactor remote_directory providerLamont Granquist2015-09-022-102/+244
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Huge speed and memory perf boost. In the prior code if you were copying 10 dotfiles to a home directory with a million files in it, would slurp all million files into a ruby Set object even if you were not ultimately going to purge the unmanaged files. This code inverts the logic and tracks managed files and then iterates through the filesystem without slurping a list into memory. - Only do file purging logic if purging is set. - Fixes mutation of new_resource.overwrite. - Fixes mutation of new_resource.rights (subtle). - Adds helper delegators to the new_resource properties. - Deprecates (instead of removes) now-unused methods. - Renamed a method (with deprecated alias preserved) for consistency. - Adds YARD for everything. - Changes protected to private because protected is largely useless in ruby. - Removes whyrun_supported? because the superclass sets that.
* | | Merge pull request #3841 from chef/jdm/now-winds-prKartik Null Cating-Subramanian2015-09-022-33/+0
|\ \ \ | | | | | | | | Remove dependency on windows-pr
| * | | Remove dependency on windows-prjdm/now-winds-prjdm/now-windows-prJay Mundrawala2015-08-281-32/+0
| | | |
| * | | Remove unused instance variableJay Mundrawala2015-08-281-1/+0
| | | |
* | | | fix locking/unlocking users on SmartOSDave Eddy2015-09-021-4/+32
| | | |
* | | | Merge pull request #3821 from joelhandwell/elapsed_timeThom May2015-09-021-2/+14
|\ \ \ \ | | | | | | | | | | Human friendly elapsed time in log
| * | | | Remove Timecop dependencyJoel Handwell2015-09-021-1/+1
| | | | |
| * | | | Keep elapsed_time and add pretty_elapsed_timeJoel Handwell2015-09-021-3/+7
| | | | |
| * | | | Add unit tests for elapsed_timeJoel Handwell2015-09-021-1/+1
| | | | |
| * | | | Human friendly elapsed time in logJoel Handwell2015-09-021-3/+11
| | | | |
* | | | | Merge pull request #3806 from gh2k/subversion-shelloutThom May2015-09-022-7/+18
|\ \ \ \ \ | | | | | | | | | | | | Replace output_of_command with shell_out! in subversion provider
| * | | | | Replace output_of_command with shell_out! in subversion providerSimon Detheridge2015-08-242-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | output_of_command doesn't work properly on Windows (see chef/chef#1533)
* | | | | | Merge pull request #3510 from ckaushik/issue_2513Thom May2015-09-021-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fixing Issue #2513 - the broken render of nested partial templates