summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Enforce passing a node name when bootstrapping with chef-vault or userryan/validatorless_bootstrapRyan Cragun2015-05-012-0/+19
| | | | | | | | | credentials When bootstrapping with chef-vault or with user credentials we create the node and client on the Chef Server before we bootstrap the node. As it is possible to specify a server address that is not the node name we need to enforce that the user pass a node name with -N.
* Update CHANGELOG for merges.Bryan McLellan2015-05-011-1/+9
| | | | | | | | Closes #2953 Closes #3155 Closes #3112, Closes #3165 Closes #3321 Closes #3278
* Cache service_resource_providers for the duration of the run.Noah Kantrowitz2015-05-011-21/+21
|
* Fix installation of yum packages with version constraintsojab2015-05-012-4/+51
| | | | Fixes #2778
* Fix debug messageojab2015-05-011-1/+1
| | | | | | | << has higher precedence than == & ?: => "mdbtools >= 0.7.1: Unable to match package 'mdbtools >= 0.7.1' but matched 1 \u0001" Obvious fix.
* fix smartos_package for new "pkgin" output, fixes #3112Dave Eddy2015-05-012-45/+55
|
* Add an integration test of chef-client with empty ENV.Kartik Null Cating-Subramanian2015-05-011-2/+19
|
* Switch over Windows builds to universal builds.Kartik Null Cating-Subramanian2015-05-014-26/+25
| | | | Updated dependencies and refactored platform gemspecs.
* Merge pull request #3295 from chef/lcg/dont-mutate-new-resourceLamont Granquist2015-05-016-18/+64
|\ | | | | don't mutate the new resource
| * add CHANGELOGlcg/dont-mutate-new-resourceLamont Granquist2015-05-011-0/+2
| |
| * break up spec examplesLamont Granquist2015-05-011-3/+23
| |
| * test state_for_resource_reporter on file resourceLamont Granquist2015-05-012-2/+4
| | | | | | | | and fix it to hit the right key.
| * create Chef::Resource#state_for_resource_reporterLamont Granquist2015-05-014-12/+36
| | | | | | | | | | | | Use this to override the state reported by the resource reporter while avoiding the collision over Chef::Resource#state being used by some LWRPs.
| * fix specsLamont Granquist2015-05-011-2/+3
| |
| * don't mutate the new resourceLamont Granquist2015-05-011-3/+0
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this line violates the rule that we never mutate the new resource. in Chef 12 this causes real problems because if a file resource is notified (run twice) then the rendered content is loaded into the new resource and if the file resource content changes (i.e. its a template with logic which changes when its notified) then it will cause a failure because the rendered content will not match the 'requested' checksum. where the 'requested' checksum is actually the checksum loaded by this line. fundamentally we have three different states that we're trying to track: - current state - initial state - requested state the removed line tries to use the @new_resource for reporting initial state, which then bleeds over into what chef thinks is requested state in the next invokation. without constructing a third @initial_resource and using that for resource reporting comparison we can't solve this problem "right". the tradeoff is we either break reporting here or break chef-client runs. this patch sacrifices reporting in order to make chef-client work.
* Merge pull request #3227 from higanworks/show_chef_version_on_shellThom May2015-05-012-4/+4
|\ | | | | Show Chef::VERSION at prompt_c and prompt_i on shell session
| * Merge remote-tracking branch 'upstream/master' into show_chef_version_on_shellsawanoboly2015-04-221-0/+6
| |\
| * | reflect https://github.com/chef/chef/pull/3227#issuecomment-94560685sawanoboly2015-04-212-4/+4
| | |
| * | Merge branch 'master' into show_chef_version_on_shellsawanoboly2015-04-2135-215/+1695
| |\ \
| * | | Show Chef::VERSION at prompt_c and prompt_i on shell sessionsawanoboly2015-04-152-8/+8
| | | |
* | | | Merge pull request #3311 from chef/tc/key-editTyler Cloke2015-04-3016-30/+1030
|\ \ \ \ | | | | | | | | | | Implemented `knife user key edit` and `knife client key edit`
| * | | | Implemented `knife user key show` and `knife client key show`.tylercloke2015-04-3011-59/+344
| | | | |
| * | | | Fixed small bug in Chef::Key.load_by_(user|client) where actor wasn't populated.tylercloke2015-04-301-3/+5
| | | | |
| * | | | Implemented `knife user key edit` and `knife client key edit`.tylercloke2015-04-309-20/+684
| | | | |
| * | | | Fixed a bug where create_key would conflict with public_key in hash returned ↵tylercloke2015-04-302-0/+30
| | | | | | | | | | | | | | | | | | | | from server on update.
| * | | | Changes Chef::Key update to allow updating the name of a key.tylercloke2015-04-302-5/+24
| | | | |
* | | | | Changelog entry for #3316Jay Mundrawala2015-04-301-0/+1
| | | | |
* | | | | Merge pull request #3317 from chef/jdm/winstaller-idempotentJay Mundrawala2015-04-301-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | windows_package is idempotent again
| * | | | windows_package is idempotent againjdm/winstaller-idempotentJay Mundrawala2015-04-301-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was broken in #3034. The issue is that the package does not get detected as installed because the version that is installed has \x00 at the end, while the version from the msi does not. This fails comparison, and we fall into code that does not use source and thus requires candidate version and we die. (Or something like that) Solves #3316
* | | | Merge pull request #3314 from chef/tball/tk14Tyler Ball2015-04-301-2/+2
|\ \ \ \ | | | | | | | | | | Updating to released test kitchen and kitchen vagrant
| * | | | Updating to released test kitchen and kitchen vagranttyler-ball2015-04-301-2/+2
|/ / / /
* | | | Note @igorshp's contributionThom May2015-04-301-0/+2
| | | |
* | | | Update changelog for releasesThom May2015-04-303-66/+7
| | | |
* | | | Merge pull request #3207 from Igorshp/exception_handlersThom May2015-04-303-6/+17
|\ \ \ \ | | | | | | | | | | patch to always run exception handlers
| * | | | cleaned up rspec testIgor Shpakov2015-04-211-5/+1
| | | | |
| * | | | revised rspec testIgor Shpakov2015-04-201-9/+6
| | | | |
| * | | | updated based on @lamont-granquist commentsIgor Shpakov2015-04-132-2/+1
| | | | |
| * | | | do not overwrite whole @run_status in #build_nodeIgor Shpakov2015-04-112-6/+5
| | | | |
| * | | | small tweak to wordingIgor Shpakov2015-04-091-1/+1
| | | | |
| * | | | added rspec testIgor Shpakov2015-04-091-0/+20
| | | | | | | | | | | | | | | | | | | | testing early fail inside 'run#begin' block.
| * | | | patch to always run exception handlersIgor Shpakov2015-04-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exception handlers require @run_status to be set. This patch moves @run_status declaration higher up so exception handlers report on all problems inside do_run begin block
* | | | | Merge pull request #3306 from chef/tc/key-deleteTyler Cloke2015-04-297-3/+365
|\ \ \ \ \ | | | | | | | | | | | | Implemented `knife user key delete` and `knife client key delete`.
| * | | | | Implemented `knife user key delete` and `knife client key delete`.tylercloke2015-04-297-3/+365
|/ / / / /
* | | | | Merge pull request #3235 from jaymzh/yum_archPhil Dibowitz2015-04-294-32/+101
|\ \ \ \ \ | | | | | | | | | | | | Make multipackage and arch play nicely together
| * | | | | Make multipackage and arch play nicely togetherPhil Dibowitz2015-04-294-32/+101
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #3233
* | | | | | Merge pull request #3297 from chef/tc/key-listTyler Cloke2015-04-298-39/+644
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Implemented `knife user key list` and `knife client key list`.
| * | | | | Implemented `knife user key list` and `knife client key list`.tc/key-listtylercloke2015-04-298-39/+644
|/ / / / / | | | | | | | | | | | | | | | Abstracted out a bunch of common tests with the key create code to reduce redundancy.
* | | | | Merge pull request #3301 from chef/revert-3296-disable-travis-containersJulian C. Dunn2015-04-291-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Revert "Disable Travis CI container infrastructure due to broken IPv6 su...
| * | | | | Revert "Disable Travis CI container infrastructure due to broken IPv6 support"revert-3296-disable-travis-containersJulian C. Dunn2015-04-291-0/+1
|/ / / / /
* | | | | Merge pull request #3296 from juliandunn/disable-travis-containersJulian C. Dunn2015-04-281-1/+0
|\ \ \ \ \ | | | | | | | | | | | | Disable Travis CI container infrastructure due to broken IPv6 support