summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Using node[:platform_family] for checking windows platformnimisha2017-02-021-1/+1
| | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
* Fixing review commentsnimisha2017-02-024-135/+65
| | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
* Fixed bugs, review comments and specsnimisha2017-02-022-7/+24
| | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
* Alternate user execute resource code review feedackadamedx2017-02-023-12/+12
|
* Additional rubocop for execute resource default argumentsadamedx2017-02-021-3/+3
|
* Rubocop violations in execute resource alternate user implementationadamedx2017-02-023-12/+14
|
* Windows alternate user support for execute resourcesAdam Edwards2017-02-024-8/+81
|
* Windows user identity user name and credntial validationAdam Edwards2017-02-021-0/+81
|
* Merge pull request #5773 from ↵Thom May2017-02-011-1/+1
|\ | | | | | | | | chef/tduffield/COOL-464/raise-error-if-install-fails Raise error if ips_package install returns non-zero
| * Raise error if ips_package install returns non-zerotduffield/COOL-464/raise-error-if-install-failsTom Duffield2017-02-011-1/+1
| | | | | | | | Signed-off-by: Tom Duffield <tom@chef.io>
* | Merge pull request #5765 from mal/systemd-unit-verifyThom May2017-02-012-0/+69
|\ \ | | | | | | Verify systemd_unit file with custom verifier
| * | Fix comment grammarMal Graty2017-01-291-1/+1
| | | | | | | | | | | | Signed-off-by: Mal Graty <mal.graty@googlemail.com>
| * | Verify systemd_unit file during createMal Graty2017-01-282-0/+69
| | | | | | | | | | | | | | | | | | | | | Use custom verification class to work around file name requirements when running systemd-analyze. Signed-off-by: Mal Graty <mal.graty@googlemail.com>
* | | Bump version of chef to 12.19.5 by Chef Versioner.v12.19.5Chef Versioner2017-02-011-1/+1
| | |
* | | Merge pull request #5704 from ceneo/knife-upload-too-short-control-escapeThom May2017-02-011-1/+1
|\ \ \ | |_|/ |/| | Core: Ensure paths are correctly escaped when syntax checking
| * | switch to using regexp escapeThom May2017-02-011-1/+1
| | | | | | | | | | | | | | | | | | And add test that fails with original code Signed-off-by: Thom May <thom@chef.io>
| * | Fixed 'too short control escape' on knfie upload #5702Grzegorz Dudek2017-01-051-1/+1
| | | | | | | | | | | | Signed-off-by: Grzegorz Dudek <grzegorz.dudek@ceneo.pl>
* | | Bump version of chef to 12.19.4 by Chef Versioner.v12.19.4Chef Versioner2017-02-011-1/+1
| | |
* | | Use CIDR block rather than netmask in route-eth0 fileTom Duffield2017-01-311-1/+1
| | | | | | | | | | | | | | | | | | Convert the netmask into the CIDR block for the route-eth0 file. Signed-off-by: Tom Duffield <tom@chef.io>
* | | Bump version of chef to 12.19.3 by Chef Versioner.v12.19.3Chef Versioner2017-01-301-1/+1
| | |
* | | dh/url support cab (#5732)dheerajd-msys2017-01-301-6/+36
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added URL support for cab_package Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com> * specs are added and code refactored Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com> * specs are added and code refactored Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com> * specs are added and code refactored Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com> * specs are added and code refactored Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com> * specs are added and code refactored Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com> * removed bundle/config Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com> * Fixed review comments Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com> * Fixed review comments on #cab_file_source Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com> * comments and context added for #cab_file_source Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* | Bump version of chef to 12.19.2 by Chef Versioner.v12.19.2Chef Versioner2017-01-251-1/+1
| |
* | Bump version of chef to 12.19.1 by Chef Versioner.v12.19.1Chef Versioner2017-01-251-1/+1
| |
* | Bump minor version to 12.19Scott Christopherson2017-01-251-1/+1
| | | | | | | | Signed-off-by: Scott Christopherson <scott@chef.io>
* | Bump version of chef to 12.18.53 by Chef Versioner.v12.18.53Chef Versioner2017-01-251-1/+1
| |
* | favor metadata.json over metadata.rbLamont Granquist2017-01-241-3/+3
| | | | | | | | | | | | | | make sure that if we have a metadata.rb that is not valid to read that we never parse that and use compiled metadata.json instead. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version of chef to 12.18.52 by Chef Versioner.v12.18.52Chef Versioner2017-01-241-1/+1
| |
* | Bump version of chef to 12.18.51 by Chef Versioner.v12.18.51Chef Versioner2017-01-241-1/+1
| |
* | Bump version of chef to 12.18.50 by Chef Versioner.v12.18.50Chef Versioner2017-01-241-1/+1
| |
* | Bump version of chef to 12.18.49 by Chef Versioner.v12.18.49Chef Versioner2017-01-241-1/+1
| |
* | Bump version of chef to 12.18.48 by Chef Versioner.v12.18.48Chef Versioner2017-01-241-1/+1
| |
* | Bump version of chef to 12.18.47 by Chef Versioner.v12.18.47Chef Versioner2017-01-231-1/+1
| |
* | Bump version of chef to 12.18.46 by Chef Versioner.v12.18.46Chef Versioner2017-01-231-1/+1
| |
* | Added module_version attribute for dsc_resource. (#5701)Aliasgar162017-01-233-1/+28
| | | | | | | | | | | | * Added module_version attribute for dsc_resource. Signed-off-by: aliasgar16 <aliasgar.batterywala@msystechnologies.com>
* | Bump version of chef to 12.18.45 by Chef Versioner.v12.18.45Chef Versioner2017-01-231-1/+1
| |
* | Merge pull request #5744 from chef/tm/fix_ssh_searchThom May2017-01-231-25/+36
|\ \ | | | | | | Ensure ssh search paginates correctly
| * | Ensure ssh search paginates correctlytm/fix_ssh_searchThom May2017-01-231-25/+36
| | | | | | | | | | | | | | | | | | Also use partial search for much small on-the-wire sizes Signed-off-by: Thom May <thom@chef.io>
* | | Bump version of chef to 12.18.44 by Chef Versioner.v12.18.44Chef Versioner2017-01-211-1/+1
| | |
* | | Raise NamedSecurityInfo related exception using HR resultBaptiste Courtois2017-01-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | GetNamedSecurityInfoW & SetNamedSecurityInfoW returns error code (HR) So pass the HR code to Win32::Error.raise! to avoid this weird message: > ---- Begin Win32 API output ---- > System Error Code: 0 > System Error Message: The operation completed successfully. > ---- End Win32 API output ----
* | | Bump version of chef to 12.18.43 by Chef Versioner.v12.18.43Chef Versioner2017-01-201-1/+1
| | |
* | | Bump version of chef to 12.18.42 by Chef Versioner.v12.18.42Chef Versioner2017-01-201-1/+1
| | |
* | | Do not modify File's new_resource during why-runScott Christopherson2017-01-202-2/+2
|/ / | | | | | | | | | | | | | | | | | | | | The `File` provider's `action_create` method would modify the `new_resource` object during a `why-run`. This was problematic when a `File` resource was configured with a `notifies :before` because resources with `before` timers have their actions executed twice. [Once](https://github.com/chef/chef/blob/a2e1d1d4edb74a968b416517fdbdf35740686467/lib/chef/runner.rb#L54-L57) in `why-run` mode to see if the other resources need to be notified, and then executed [once again](https://github.com/chef/chef/blob/a2e1d1d4edb74a968b416517fdbdf35740686467/lib/chef/runner.rb#L68-L69) after the `before` notifications are resolved. This behavior would result in existing File resources not getting their ownership and permissions updated properly during a converge. Signed-off-by: Scott Christopherson <scott@chef.io>
* | Bump version of chef to 12.18.41 by Chef Versioner.v12.18.41Chef Versioner2017-01-201-1/+1
| |
* | Bump version of chef to 12.18.40 by Chef Versioner.v12.18.40Chef Versioner2017-01-191-1/+1
| |
* | Bump version of chef to 12.18.39 by Chef Versioner.v12.18.39Chef Versioner2017-01-181-1/+1
| |
* | Bump version of chef to 12.18.38 by Chef Versioner.v12.18.38Chef Versioner2017-01-181-1/+1
| |
* | Merge pull request #5606 from chef/adamleff/warn-on-dangerous-property-namesThom May2017-01-187-4/+66
|\ \ | | | | | | Deprecate creating properties whose names are already methods
| * | Deprecate creating properties whose names are already methodsadamleff/warn-on-dangerous-property-namesAdam Leff2017-01-187-4/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When creating a resource, a user can create a property that is the same name as an already-existing Ruby method, such as `#hash`. In the case of the `#hash` method, this can cause issues when attempting to adding resources to other data structures, such as Arrays or Hashes. In other examples, this could cause unexpected behavior that is incredibly difficult to troubleshoot. This change adds a deprecation warning in the case where a user adds a property to a resource that the resource instance already responds to. If y'all are OK with this approach, I'll be happy to write up the deprecation doc for this for docs.chef.io. Signed-off-by: Adam Leff <adam@leff.co>
* | | Bump version of chef to 12.18.37 by Chef Versioner.v12.18.37Chef Versioner2017-01-171-1/+1
| | |
* | | Merge pull request #5726 from higanworks/compatible_with_net-ssh4Thom May2017-01-171-1/+1
|\ \ \ | | | | | | | | pass true as 2nd args for Net::SSH.configuration_for by default.