Chef server "Starter Kit" customization


#1

Wondering if there is a way to add some files/config to the chef “Starter Kit” - There are some org specifics I want to add and would like to take the config out of the users hands to ease (my) administration/troubleshooting as I role this service out to the developers.

I have had a quick look around via google and the chef documentation but have been unable to see what I am looking for.

Thanks in advance.


#2

There’s not really a way to do that. The code for the starter kit is in chef-manage.

A more workable approach might be to just have users download a key and knife.rb and use custom generators with ChefDK to have users generate the things you need.


#3

Do you know of any documentation in regards to the custom generators?


#4

There are a few mentions here: https://docs.chef.io/ctl_chef.html#chef-generate-cookbook

Also this blog post: https://medium.com/@echohack/creating-your-own-chef-cookbook-generator-5e998db1255b#.5b5vrdg8l

The ones used by default are here: https://github.com/chef/chef-dk/tree/master/lib/chef-dk/skeletons/code_generator/recipes


#5

Thanking you very much!