summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Output https links in chef-shellhttps_shellTim Smith2016-11-141-2/+2
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version of chef to 12.17.6 by Chef Versioner.v12.17.6Chef Versioner2016-11-111-1/+1
|
* Bump version of chef to 12.17.5 by Chef Versioner.v12.17.5Chef Versioner2016-11-111-1/+1
|
* Merge pull request #5315 from ↵Bryan McLellan2016-11-114-0/+157
|\ | | | | | | | | MsysTechnologiesllc/dh/adding_powershell_package_manager_support Adding support for Powershell package manager to Chef package provider
| * Additional changes based on more review commentsdheerajd-msys2016-11-101-31/+23
| | | | | | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
| * Modified code based on review commentsdheerajd-msys2016-11-101-35/+21
| | | | | | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
| * Added unit specs for powershell packagedheerajd-msys2016-11-103-35/+43
| | | | | | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
| * Added code for adding support for powershell package managerdheerajd-msys2016-11-105-0/+171
| | | | | | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* | Bump version of chef to 12.17.4 by Chef Versioner.v12.17.4Chef Versioner2016-11-101-1/+1
| |
* | Bump version of chef to 12.17.3 by Chef Versioner.v12.17.3Chef Versioner2016-11-101-1/+1
| |
* | Merge pull request #5422 from chef/tm/rescue_5115Thom May2016-11-102-8/+48
|\ \ | | | | | | Mac: ensure launchd's start_calendar_interval gets valid settings
| * | Respond to review comments and chefstyletm/rescue_5115Thom May2016-11-102-14/+13
| | | | | | | | | | | | Signed-off-by: Thom May <thom@chef.io>
| * | Code style fixes; :lipstick:Andrew Burns2016-11-101-1/+1
| | |
| * | launchd: start_calendar_interval validity checkingAndrew Burns2016-11-101-1/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | StartCalendarInterval has some gotchas so we coerce it to sanity check. According to `man 5 launchd.plist`: StartCalendarInterval [is a] <dictionary of integers or array of dictionaries of integers> ... Missing arguments are considered to be wildcard. What the man page doesn't state, but what was observed (OSX 10.11.5, launchctrl v3.4.0) is that key that are specified, _but with invalid values, will also be silently treated as a wildcard values. This means that an entry like: { "Hour"=>0, "Weekday"=>"6-7"} will not just run on midnight of Sat and Sun, rather it will run _every_ midnight. We check to make sure that the values are integers and not strings, adhering to the manpage documentation. This also ensures that only keys that StartCalendarInterval supports will be passed. This eliminates passing a key (like `:hour` or `'hour') and thinking it works when in reality launchd is just treating it as a wildcard. NOTE: This is a "breaking" change in that: it will break existing cookbooks that are using the current docs: https://docs.chef.io/resource_launchd.html (See start_calendar_interval); however the generated plist doesn't appear to actually do what was intended anyway.
* | | Bump version of chef to 12.17.2 by Chef Versioner.v12.17.2Chef Versioner2016-11-101-1/+1
|/ /
* | Bump version of chef to 12.17.1 by Chef Versioner.v12.17.1Chef Versioner2016-11-091-1/+1
| |
* | Bump minor version to 12.17 after 12.16 releaseTom Duffield2016-11-091-1/+1
| | | | | | | | Signed-off-by: Tom Duffield <tom@chef.io>
* | Bump version of chef to 12.16.55 by Chef Versioner.v12.16.55Chef Versioner2016-11-091-1/+1
|/
* Bump version of chef to 12.16.54 by Chef Versioner.v12.16.54Chef Versioner2016-11-081-1/+1
|
* Bump version of chef to 12.16.53 by Chef Versioner.v12.16.53Chef Versioner2016-11-081-1/+1
|
* Fix converge_if_changed (#5508)Akos Vandra2016-11-081-3/+3
| | | sensitive is the property of the resource, not the provider.
* Bump version of chef to 12.16.52 by Chef Versioner.v12.16.52Chef Versioner2016-11-081-1/+1
|
* String to Array launchd:limit_load_to_session_type (#5424)Erik Gomez2016-11-081-1/+1
| | | Mac: Ensure that launchd limit_load_to_session_type is properly handled
* Bump version of chef to 12.16.51 by Chef Versioner.v12.16.51Chef Versioner2016-11-081-1/+1
|
* Merge pull request #5524 from chef/tas50/apt_update_failsTim Smith2016-11-081-1/+1
|\ | | | | Prevent apt_update failures on non-Linux platforms
| * Prevent apt_update failures on non-Linux platformstas50/apt_update_failsTim Smith2016-11-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | We 1/2 wired up the noop functionality, but specifying that we only provided the resource on Linux caused that code to never run. This prevents this sort of error on non-Linux platforms: ``` Cannot find a resource for apt_update on windows version 6.3.9600 ``` Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version of chef to 12.16.50 by Chef Versioner.v12.16.50Chef Versioner2016-11-081-1/+1
|/
* Bump version of chef to 12.16.49 by Chef Versioner.v12.16.49Chef Versioner2016-11-071-1/+1
|
* Fixed 5459 - Purge yum cache before deleting repo config (#5509)Ian C. Ward2016-11-071-7/+6
| | | Signed-off-by: Ian C. Ward <ian.ward@disney.com>
* Bump version of chef to 12.16.48 by Chef Versioner.v12.16.48Chef Versioner2016-11-071-1/+1
|
* Bump version of chef to 12.16.47 by Chef Versioner.v12.16.47Chef Versioner2016-11-071-1/+1
|
* Bump version of chef to 12.16.46 by Chef Versioner.v12.16.46Chef Versioner2016-11-041-1/+1
|
* Bump version of chef to 12.16.45 by Chef Versioner.v12.16.45Chef Versioner2016-11-041-1/+1
|
* Bump version of chef to 12.16.44 by Chef Versioner.v12.16.44Chef Versioner2016-11-041-1/+1
|
* Bump version of chef to 12.16.43 by Chef Versioner.v12.16.43Chef Versioner2016-11-041-1/+1
|
* Bump version of chef to 12.16.42 by Chef Versioner.v12.16.42Chef Versioner2016-11-041-1/+1
|
* Don't double-JSON data collector run complete messagesdanielsdeleo2016-11-031-1/+1
| | | | Signed-off-by: Daniel DeLeo <dan@chef.io>
* Bump version of chef to 12.16.41 by Chef Versioner.v12.16.41allow-tokenless-chef-solo-data-collectorChef Versioner2016-11-031-1/+1
|
* Merge pull request #5511 from chef/allow-tokenless-chef-solo-data-collectorSalim Afiune2016-11-031-2/+1
|\ | | | | Enable data collector w/o token for solo, but require explicit URL
| * Enable data collector w/o token for solo, but require explicit URLdanielsdeleo2016-11-031-2/+1
| | | | | | | | | | | | | | | | | | | | Third-party data collector implementations are supported and may not require a token for authentication. Therefore we must allow the case where the token is nil in Chef Solo mode. To reduce the chance that the data collector is accidentally enabled, only set the data collector URL to a default value in Chef Client mode. Signed-off-by: Daniel DeLeo <dan@chef.io>
* | Bump version of chef to 12.16.40 by Chef Versioner.v12.16.40Chef Versioner2016-11-021-1/+1
|/
* Update release notes for automatic data collectionkey-auth-data-collectordanielsdeleo2016-11-021-1/+1
| | | | | | | Also, Chef Server 12.10 was released, so we will most likely require 12.11+ for the feature to work. Signed-off-by: Daniel DeLeo <dan@chef.io>
* Extract data collector http config to a private methoddanielsdeleo2016-11-021-6/+14
| | | | Signed-off-by: Daniel DeLeo <dan@chef.io>
* Update default data collector URL to correct valuedanielsdeleo2016-11-021-6/+22
| | | | | | | Additionally, add info and debug logging for the auto-detection of whether to enable the data collector. Signed-off-by: Daniel DeLeo <dan@chef.io>
* Disable data collector for solo if token isn't configureddanielsdeleo2016-11-021-5/+30
| | | | Signed-off-by: Daniel DeLeo <dan@chef.io>
* Enable the data collector automaticallydanielsdeleo2016-11-021-1/+6
| | | | Signed-off-by: Daniel DeLeo <dan@chef.io>
* Allow optional signed header auth for data collectordanielsdeleo2016-11-021-2/+10
| | | | | | | | | | * When the data collector is enabled but the token is nil, data collector will use signed header auth. * Switch data collector to an HTTP client that includes the JSON content middlewares so both auth methods talk to the `http` object the same way. Signed-off-by: Daniel DeLeo <dan@chef.io>
* Bump version of chef to 12.16.39 by Chef Versioner.v12.16.39Chef Versioner2016-11-021-1/+1
|
* Add a default GID for user creation on MacOS (#5393)cgerke2016-11-021-3/+8
| | | | | | | | | | | | * Avoid ArgumentError new_resource.gid.to_s will be empty if a recipe calls the user resource without gid and changes the home property. Will result in an exception and if chef is run by root, the home dir will end up being owned by root from the mv. * Avoid chown issues when using manage_home and not specifying a gid Using a sensible CONSTANT for gid when new_resource.gid.nil? Signed-off-by: Chris Gerke <chris.gerke@gmail.com>
* Bump version of chef to 12.16.38 by Chef Versioner.v12.16.38Chef Versioner2016-11-011-1/+1
|