Knife environment show versions


#1

Is there anyway to show which cookbook versions an environment will use? This is aside from setting cookbook_versions and just running ‘knife environment show’.

Thanks,
Curtis

Curtis Stewart
Consultant
m 217.390.5067
Skype cstewart8710
cstewart@momentumsi.commailto:cstewart@momentumsi.com
www.momentumsi.comhttp://www.momentumsi.com/

[cid:71466434-A311-4F82-BC03-F7D6BA0FA526]http://www.momentumsi.com/http://www.momentumsi.com/

Cloud Migration - Architecture - DevOps - Big Data - App Dev


#2

I found the answer to my own question, wanted to share with anyone else that’s curious:

This will show current versions being used in all environments (“latest" if no constraints):
$ knife environment compare —all

This will show the latest version for all cookbooks:
$ knife cookbook list ( append -z option to show latest local versions)

Curtis Stewart
Consultant
m 217.390.5067
Skype cstewart8710
cstewart@momentumsi.commailto:cstewart@momentumsi.com
www.momentumsi.comhttp://www.momentumsi.com/

[cid:71466434-A311-4F82-BC03-F7D6BA0FA526]http://www.momentumsi.com/http://www.momentumsi.com/

Cloud Migration - Architecture - DevOps - Big Data - App Dev

On May 16, 2014, at 9:18 AM, Stewart, Curtis <cstewart@momentumsi.commailto:cstewart@momentumsi.com> wrote:

Is there anyway to show which cookbook versions an environment will use? This is aside from setting cookbook_versions and just running ‘knife environment show’.

Thanks,
Curtis

Curtis Stewart
Consultant
m 217.390.5067
Skype cstewart8710
cstewart@momentumsi.commailto:cstewart@momentumsi.com
www.momentumsi.comhttp://www.momentumsi.com/

<80BB855A-341B-44CC-8CD6-44C237EBA7A5[5].png>http://www.momentumsi.com/http://www.momentumsi.com/

Cloud Migration - Architecture - DevOps - Big Data - App Dev


#3

You can use knife-solve for this.

–Noah

On May 16, 2014, at 7:18 AM, “Stewart, Curtis” cstewart@momentumsi.com wrote:

Is there anyway to show which cookbook versions an environment will use? This is aside from setting cookbook_versions and just running ‘knife environment show’.

Thanks,
Curtis

Curtis Stewart
Consultant
m 217.390.5067
Skype cstewart8710
cstewart@momentumsi.com
www.momentumsi.com

<80BB855A-341B-44CC-8CD6-44C237EBA7A5[5].png>

Cloud Migration - Architecture - DevOps - Big Data - App Dev