I am a newbie on chef, I got blocked on cookbook, please help me with this, thanks in advance.
I create a new cookbook and modify default.rb, add followings
package "vsftpd" do
Then I upload it to chef server
knife cookbook upload cookbook01
But, I find all changes are lost on chef-server
knife cookbook show cookbook01 0.1.0 recipes default.rb
# Cookbook Name:: cookbook01
# Recipe:: default
# Copyright 2017, YOUR_COMPANY_NAME
# All rights reserved - Do Not Redistribute
Am I missing something?
Chef server and Chef workstation are on the same machine.