2013. 12. 8. 23:28
How to get the codes of a recipe from chef server.
2013. 12. 8. 23:28 in 7. Tips/Unix / Linux
I was digging the way how to get the codes of a recipe from chef server. Finally I found the command:
administrator@ubuntu:~/temp$ knife cookbook show test2 latest recipes default.rb # # Cookbook Name:: test2 # Recipe:: default # # Copyright 2013, YOUR_COMPANY_NAME # # All rights reserved - Do Not Redistribute #