Bootstrapping a node without knife

Hi All,

I am looking for ways to register a node with chef server. The approach we have used so far is a custom script which downloads the chef-client from internal url and installs it on the node. Post that, we create a client.rb file and just run chef-client with that config file. I want to confirm If this is equally good option or are there any issues with this approach. Additionally, we plan to use policy files for each node rather than runlist. What is the best place to map the policy to a node(client.rb file or using knife node set policy). What is the difference between the 2 options.

Thanks,

1 Like