- From: Greg Barker <
>
- To: "
" <
>
- Subject: [chef] Re: Re: How to get Chef Server to add itself as a node?
- Date: Thu, 11 Jun 2015 05:01:01 -0700
Last time I used the aws cli to spin up an EC2 instance that will become my chef server.
Then I ran a simple little fabric script that does the following:
* Copies encrypted_data_bag_secret, bitbucket deploy key, and known_hosts file to the instance
* yum install git
* Clone down my chef repo from bitbucket
* Runs berks package on my cookbooks, copies it to the instance, and untar it (I think `berks package` is run locally, maybe it should be run on the server?)
* Creates a solo.rb file
* Run chef-solo with run list role[mycorp_chef_server], from there it's mainly just the chef-server cookbook
I haven't looked at this script in awhile, maybe there's a better way to go about this?
Archive powered by MHonArc 2.6.16.