summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4151 from chef/logging_redux12.5.1Matt Wrock2015-11-092-10/+11
|\ | | | | fix log location resolution in windows service
| * fix log location resolution in windows serviceMatt Wrock2015-11-092-10/+11
|/
* Remove now-unused function (already implemented by Chef::Resource)John Keiser2015-11-061-4/+0
|
* Include pedant.gemfile.lock in .gitignoreJohn Keiser2015-11-061-1/+1
|
* Merge pull request #4137 from chef/btm/knife-backtraceBryan McLellan2015-11-062-2/+15
|\ | | | | don't squash Chef::Config[:verbosity] on subsequent instances of Chef::Knife::Bootstrap
| * Avoid squashing/humanizing the exception when config[:verbosity] == 2btm/knife-backtraceBryan McLellan2015-11-062-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We create an instance of Chef::Knife::Bootstrap in knife-ec2, but we've already processed ARGV so we substitute and process an empty argv. config[:verbosity] comes from Chef::Application::Knife. Normally we merge those options with the ones from the knife subcommand in Chef::Knife.run. Since we don't in this case, we don't set it to the default of 0 that is specified there, leaving it nil. We set Chef::Config[:verbosity] to config[:verbosity] in Chef::Knife#initialize which now becomes nil. This change makes it so we do not update Chef::Config[:verbosity] if config[:verbosity] is nil, so that later when we rescue we don't call humanize_exception if Chef::Config[:verbosity] is 2.
* | Handle nil run list option in knife bootstrapnil-run-list-bootstrapdanielsdeleo2015-11-052-1/+24
|/
* Merge pull request #4143 from chef/jdm/watJay Mundrawala2015-11-051-1/+4
|\ | | | | Fixed knife_spec unit test
| * Fixed knife_spec unit testJay Mundrawala2015-11-051-1/+4
|/ | | | | This is failing on both my and btm's machine. No idea how it passes in other places.
* Merge pull request #3836 from nathwill/svc-helpers-altThom May2015-11-052-68/+26
|\ | | | | simplify service helpers
| * support split-usr on ubuntu platformsNathan Williams2015-10-231-2/+2
| |
| * fix specsNathan Williams2015-10-232-3/+3
| |
| * i have no idea what is happeningNathan Williams2015-10-231-30/+6
| |
| * move gross non-service "services" to separate detection methodNathan Williams2015-10-231-5/+13
| |
| * re-sync with masterNathan Williams2015-10-23235-3119/+7136
| |\
| * | add support for non-service unitsNathan Williams2015-09-011-1/+2
| | |
| * | support service names like redis@6380 derived from units like redis@.serviceNathan Williams2015-08-291-1/+1
| | |
| * | Revert "include systemd in configs if init.d on systemd-based system"Nathan Williams2015-08-281-1/+0
| | | | | | | | | | | | | | | | | | I'm not actually sure where this is used, so maybe leave it be. This reverts commit 5a78ea32aaaee75265086c27d273f5c7dc1c111e.
| * | include systemd in configs if init.d on systemd-based systemNathan Williams2015-08-281-0/+1
| | |
| * | ::FileNathan Williams2015-08-281-1/+1
| | |
| * | simplify service helpersNathan Williams2015-08-281-40/+9
| | |
* | | Merge pull request #4135 from chef/mwrock/serviceMatt Wrock2015-11-053-54/+100
|\ \ \ | | | | | | | | windows service uses log file location from config if none is given on commandline
| * | | windows service uses log fileMatt Wrock2015-11-053-54/+100
|/ / / | | | | | | | | | location from config if none is given on commandline
* | | Merge pull request #4130 from chef/lcg/lazy-socketless-requireLamont Granquist2015-11-041-2/+9
|\ \ \ | | | | | | | | lazy the socketless require in Chef::HTTP
| * | | thread-safe performant lazy requirelcg/lazy-socketless-requireLamont Granquist2015-11-041-1/+5
| | | |
| * | | add more verbose info/clarity to comment blockLamont Granquist2015-11-041-2/+3
| | | |
| * | | lazy the socketless require in Chef::HTTPLamont Granquist2015-11-041-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if this is always required then everything that uses Chef::HTTP will load up chef-zero which will load up Webrick, which does DNS lookups of the current host which causes a DNS lookup and possible timeout. it also likely isn't doing pretty things to chef-client memory usage and load times there as well.
* | | | Add tests for Chef::HTTP retry behaviordanielsdeleo2015-11-041-1/+103
| | | |
* | | | Add connection resets to HTTP retry casesdanielsdeleo2015-11-041-1/+1
| | | |
* | | | Skip retries of certificate verification failuresdanielsdeleo2015-11-041-1/+1
| | | |
* | | | Re-raise SSL errors after retry w/ correct classdanielsdeleo2015-11-041-2/+2
| | | |
* | | | Add in retry for possible transient SSL errorsglasschef2015-11-041-0/+7
|/ / /
* | | Merge pull request #4134 from chef/lcg/follow-bundlerLamont Granquist2015-11-041-1/+5
|\ \ \ | | | | | | | | update bundler continuously
| * | | use older bundler+rubygems for nowlcg/follow-bundlerLamont Granquist2015-11-031-1/+5
|/ / /
* | | Roadmap updates for Windows12.3.0Bryan McLellan2015-10-301-10/+9
| | |
* | | Merge pull request #4090 from chef/ssd/rehash-cheffsSteven Danna2015-10-293-1/+23
|\ \ \ | | | | | | | | Improve detection of ChefFS-based commands in `knife rehash`
| * | | Improve detection of ChefFS-based commands in `knife rehash`ssd/rehash-cheffsSteven Danna2015-10-293-1/+23
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ChefFS-based commands have a superclass (Chef::ChefFS::Knife) which defines its own inherited method that calls super. This breaks our detection of where the subcommand is defined since the file with the definition is no longer at the top of the call stack. This commit special-cases subclasses with a superclass of Chef::ChefFS::Knife to account for this. Fixes #4089
* | | Make Property.derive create derived properties of the same typejk/custom_propertiesJohn Keiser2015-10-282-1/+49
| | |
* | | Updated changelogtfitch/bootstrap-no-colorKartik Null Cating-Subramanian2015-10-281-0/+1
| | |
* | | Updated --no-color unit tests based on feedback from btm and KartikTyler Fitch2015-10-281-11/+11
| | |
* | | Update knife bootstrap command to honor --no-color flag in chef-client run ↵Tyler Fitch2015-10-282-4/+12
| | | | | | | | | | | | that is part of the bootstrap process.
* | | Merge pull request #4116 from chef/lcg/chef-version-md-filesLamont Granquist2015-10-282-433/+23
|\ \ \ | | | | | | | | add md files for chef_version/ohai_version merge
| * | | typofixLamont Granquist2015-10-281-1/+1
| | | |
| * | | add md files for chef_version/ohai_version mergeLamont Granquist2015-10-282-433/+23
|/ / /
* | | Merge pull request #4081 from chef/lcg/chef-versionLamont Granquist2015-10-2810-14/+353
|\ \ \ | | | | | | | | RFC-037: add chef_version and ohai_version metadata
| * | | add integration test for the client sidelcg/chef-versionLamont Granquist2015-10-261-0/+20
| | | |
| * | | fix use as an accessorLamont Granquist2015-10-261-2/+2
| | | |
| * | | add @raises doc for #validate!Lamont Granquist2015-10-261-0/+3
| | | |
| * | | add YARD docsLamont Granquist2015-10-263-11/+64
| | | |
| * | | use #any? and comment the logicLamont Granquist2015-10-261-4/+3
| | | |