Open mattray opened 11 years ago
I like that idea, you could do the same with chef-server.....
I'm already doing something similar over in pxe_dust, where the server caches the chef-clients and generates a bootstrap template that points to it. Since you're using the new chef server, you've got nginx already there.
https://github.com/opscode-cookbooks/pxe_dust/blob/master/recipes/bootstrap_template.rb
This is more of a feature suggestion. Since we're making a local cache of the full stack clients, it seems we could make bootstrap templates that re-use these when bootstrapping remote boxes. Rather than call an install.sh, the template could just scp the file via knife. So something like
knife ingredient bootstrap box1.example.com -d chef-ingredient-ubuntu-12.04
Would bootstrap the box and send the client across the wire.