Chef-client version while bootstraping

hey guys,

I think i am missing something but couldn’t figure out what. I am trying to
bootstrap a node with the chef-client version 11.18.12. But it keeps coming
back with version 11.10.4. Below is the log.

*2.1.1@oss:my_project $ knife bootstrap
ec2-x.x.x.x.us-west-2.compute.amazonaws.com
http://ec2-x.x.x.x.us-west-2.compute.amazonaws.com -r
chef-client::service -x ec2-user -E dev -N oss-test-boot-ver --secret-file
’/home/chef/keys/somename_dev_databag_secret.key’ --bootstrap-version
11.18.12 --sudo *

*Doing old-style registration with the validation key at
/home/chef/.chef/oss-dev-validator.pem… *

*Delete your validation key in order to use your user credentials instead *

*Connecting to ec2-x.x.x.x.us-west-2.compute.amazonaws.com
http://ec2-x.x.x.x.us-west-2.compute.amazonaws.com *

*ec2-x.x.x.x.us-west-2.compute.amazonaws.com
http://ec2-x.x.x.x.us-west-2.compute.amazonaws.com Starting first Chef
Client run… *

*ec2-x.x.x.x.us-west-2.compute.amazonaws.com
http://ec2-x.x.x.x.us-west-2.compute.amazonaws.com Starting Chef Client,
version 11.10.4 *

*ec2-x.x.x.x.us-west-2.compute.amazonaws.com
http://ec2-x.x.x.x.us-west-2.compute.amazonaws.com Creating a new client
identity for oss-test-boot-ver using the validator key. *

*ec2-x.x.x.x.us-west-2.compute.amazonaws.com
http://ec2-x.x.x.x.us-west-2.compute.amazonaws.com resolving cookbooks
for run list: [“chef-client::service”] *


Regards
nirish okram

The bootstrap scripts checks to see if chef-client is already on the
image and skips installation if it finds one. Since I don't see any
omnibus output you've probably got 11.10.4 pre-installed.

On 05/28/2015 02:43 PM, niristotle okram wrote:

hey guys,

I think i am missing something but couldn't figure out what. I am
trying to bootstrap a node with the chef-client version 11.18.12. But
it keeps coming back with version 11.10.4. Below is the log.

*2.1.1@oss:my_project $ knife bootstrap
ec2-x.x.x.x.us-west-2.compute.amazonaws.com
http://ec2-x.x.x.x.us-west-2.compute.amazonaws.com -r
chef-client::service -x ec2-user -E dev -N oss-test-boot-ver
--secret-file '/home/chef/keys/somename_dev_databag_secret.key'
--bootstrap-version 11.18.12 --sudo *

*Doing old-style registration with the validation key at
/home/chef/.chef/oss-dev-validator.pem... *

*Delete your validation key in order to use your user credentials
instead *

*Connecting to ec2-x.x.x.x.us-west-2.compute.amazonaws.com
http://ec2-x.x.x.x.us-west-2.compute.amazonaws.com *

*ec2-x.x.x.x.us-west-2.compute.amazonaws.com
http://ec2-x.x.x.x.us-west-2.compute.amazonaws.com Starting first
Chef Client run... *

*ec2-x.x.x.x.us-west-2.compute.amazonaws.com
http://ec2-x.x.x.x.us-west-2.compute.amazonaws.com Starting Chef
Client, version 11.10.4 *

*ec2-x.x.x.x.us-west-2.compute.amazonaws.com
http://ec2-x.x.x.x.us-west-2.compute.amazonaws.com Creating a new
client identity for oss-test-boot-ver using the validator key. *

*ec2-x.x.x.x.us-west-2.compute.amazonaws.com
http://ec2-x.x.x.x.us-west-2.compute.amazonaws.com resolving
cookbooks for run list: ["chef-client::service"] *

--
Regards
nirish okram