summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* chefstyle: fix Lint/StringConversionInInterpolationLamont Granquist2016-01-1238-194/+194
| | | | useless use of `"#{foo.to_s}"`
* Merge pull request #4106 from chef/lcg/chocolatey-packageLamont Granquist2016-01-114-2/+273
|\ | | | | add chocolatey_package to core chef
| * add pre-deprecated uninstall actionLamont Granquist2016-01-111-0/+2
| |
| * chocolatey multipackage providerlcg/chocolatey-packageLamont Granquist2016-01-084-2/+271
| |
* | Convert all uses of Chef::REST to Chef::ServerAPItm/no_more_restThom May2016-01-1149-206/+313
|/ | | | | | | In the process, stop auto-expanding JSON in the HTTP client, and let individual classes control that themselves. Fixes #2737, Fixes #3518
* Typo fixZach Malone2016-01-061-1/+1
|
* Merge pull request #4321 from chef/service_userMatt Wrock2015-12-295-61/+119
|\ | | | | fix run_as_user of windows_service
| * fixes #3521 correcting format of user name passed to policy apis and does ↵Matt Wrock2015-12-295-61/+119
| | | | | | | | not clobber existing service rights of other users
* | Merge pull request #4333 from chef/vaultMatt Wrock2015-12-224-22/+41
|\ \ | | | | | | no longer wait on node search to refresh vault but pass created ApiCient instead
| * | no longer wait on node search to refresh vault but pass created ApiClient ↵Matt Wrock2015-12-224-22/+41
| |/ | | | | | | instead
* | Added profile provider for OS XNate Walck2015-12-174-0/+330
|/ | | | Fixed resource to use let
* Merge pull request #4312 from chef/cwebberOps/omnitruckThom May2015-12-161-1/+1
|\ | | | | Updates the template to use omnitruck-direct.chef.io
| * Updates the template to use omnitruck-direct.chef.iocwebberOps/omnitruckChristopher Webber2015-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the past we have had issues with SAN and SNI certificates on RHEL 5. As a result, the fix was to keep pointing at www.opcode.com which used a cert that matched what we needed. With recent changes to the infrastructure omnitruck.chef.io and omnitruck-direct.chef.io are now available. omnitruck.chef.io is fronted by Fastly and as a result has the same certificate issues that have kept us using www.opscode.com. omnitruck-direct.chef.io is what Fastly (and now www.opscode.com) hits to serve traffic. While we don't get the benefit of the CDN and caching goodness, this will still do a bit to clean up the codebase. Bootstrapping was verified on the following platforms: ``` opscode-centos-6.4 running (virtualbox) opscode-centos-7.1 running (virtualbox) debian-6.0.10 running (virtualbox) debian-7.9 running (virtualbox) debian-8.2 running (virtualbox) fedora-21 running (virtualbox) fedora-22 running (virtualbox) freebsd-9.3 running (virtualbox) freebsd-10.2 running (virtualbox) opensuse-13.2 running (virtualbox) opscode-ubuntu-12.04 running (virtualbox) opscode-ubuntu-14.04 running (virtualbox) centos-5.11 running (virtualbox) ```
* | Merge pull request #4277 from chef/mwrock/packageMatt Wrock2015-12-155-20/+38
|\ \ | | | | | | non msi packages must explicitly provide a source attribute on install
| * | fixing post merge test breaksMatt Wrock2015-12-151-1/+1
| | |
| * | merge cleanupmwrock/packageMatt Wrock2015-12-151-1/+5
| | |
| * | non msi packages must explicitly provide a source attribute on installMatt Wrock2015-12-155-18/+32
| | |
* | | Fix a typo comment. [ci skip]Noah Kantrowitz2015-12-151-1/+1
| | |
* | | If /policies and /policy_groups are not on this server version,John Keiser2015-12-152-2/+57
| | | | | | | | | | | | treat them like empty directories
* | | Don't feed policies to older versions of chef-zeroJohn Keiser2015-12-151-1/+8
| | |
* | | Add knife/ChefFS support for policyfiles and policy_groups.John Keiser2015-12-1534-129/+594
|/ /
* | Use properties in package resourcesjk/package-propertiesJohn Keiser2015-12-1530-312/+74
|/
* Merge pull request #4309 from chef/lcg/fix-tags-and-set-unlessThom May2015-12-153-6/+5
|\ | | | | tags always an array; fix set_unless
| * really always return an Arraylcg/fix-tags-and-set-unlessLamont Granquist2015-12-141-2/+1
| |
| * tags always an array; fix set_unlessLamont Granquist2015-12-143-5/+5
| | | | | | | | | | | | | | previously if the node had a { normal: { tags: nil } } that we read since the key existed (but was nil) we would not initialize with an array. replacing the code with a call to node.set_unless revealed that set_unless was similarly buggy. fixed both issues by fixing set_unless.
* | Only warn about potentially duplicate properties during the resource initializerjk/reduce-property-dup-warningJohn Keiser2015-12-143-11/+24
| |
* | sort propertiesLamont Granquist2015-12-141-3/+3
| |
* | remove unnecessary identity_attr declarationLamont Granquist2015-12-141-2/+0
| |
* | regex works fine inside the is arrayLamont Granquist2015-12-141-1/+1
| |
* | can be less verbose about creating ArraysLamont Granquist2015-12-141-1/+1
| |
* | why is 'identity' different than 'name_property'?Lamont Granquist2015-12-141-1/+1
| |
* | is: vs. regex: is differentLamont Granquist2015-12-141-1/+1
| |
* | stop mutating the default arrayLamont Granquist2015-12-141-1/+1
| |
* | unnecessary array argLamont Granquist2015-12-141-1/+1
| |
* | implement verifications as a propertyLamont Granquist2015-12-142-8/+4
| | | | | | | | | | | | the unit tests on this one did some excessive stubbing/mocking, i just let them create a real verification object which the 'true' or 'false' then failed (for real).
* | convert to true/false/nil in propertiesLamont Granquist2015-12-141-7/+7
| |
* | make file resource use propertiesLamont Granquist2015-12-141-70/+9
| |
* | Don't warn when setting a property to nil unless its value wouldjk/updates2John Keiser2015-12-141-8/+11
| | | | | | | | | | actually change. Gets rid of cases where we are initializing a resource with values from another resource.
* | Implement action_class do ... endJohn Keiser2015-12-111-17/+23
|/
* Merge pull request #4273 from chef/jdm/default-auth-1.1Jay Mundrawala2015-12-112-18/+0
|\ | | | | Use signing protocol 1.1 by default
| * Use signing protocol 1.1 by defaultjdm/default-auth-1.1Jay Mundrawala2015-12-102-18/+0
| | | | | | | | | | | | | | | | | | | | | | All supported Chef servers support the 1.1 signing protocol. There is no reason to continue using 1.0, and removing it as the default allows us to remove a bunch of code that tries to upgrade 1.0 to 1.1 when the node name is too long. If the user specifies 1.0 as the auth protocol version from this point on, they will have to guarantee that the node name is not too long.
* | Get rid of ambiguity with `template 'x' do ...`jk/error-on-property-with-blockJohn Keiser2015-12-101-2/+10
| |
* | Improve commentsjk/warn-dup-propertyJohn Keiser2015-12-102-3/+17
| |
* | Warn when user sets a property of an inline resource to itself.John Keiser2015-12-105-17/+44
| | | | | | | | (User will expect "x x" to grab the parent property.)
* | Merge pull request #4248 from chef/tm/fix_reg_tests_2Thom May2015-12-101-0/+2
|\ \ | | | | | | expose HTTP options
| * | expose HTTP optionstm/fix_reg_tests_2Thom May2015-12-091-0/+2
| | | | | | | | | | | | and use it in registration client specs
* | | Ask for stacktrace.out in bug reportslcg/ask-for-stacktracesLamont Granquist2015-12-091-1/+2
| | |
* | | Moving the proxy export to environment varibles into Chef::Configtyler-ball2015-12-094-86/+3
| | |
* | | Adding proxifier dependency and leveraging its ability to make TCPSocket.new ↵tyler-ball2015-12-093-4/+47
| | | | | | | | | | | | respect ENV['http_proxy']
* | | Don't activate cheffish and chef-provisioning until its DSL is usedjk/lazy-activationJohn Keiser2015-12-094-8/+148
| | |