@@ -7,7 +7,7 @@ them all.
771 . You'll need VirtualBox >= ` 4.2.18 ` . We recommend installing Vagrant with their binary installer from http://downloads.vagrantup.com
88Vagrant 1.3.5 has support for VirtualBox 4.3
99
10- 2 . Firstly you need to decide whether to use your own Chef Server or the free tier of the hosted enterprise
10+ 2 . Firstly you need to decide whether to use your own Chef Server or the free tier of the hosted enterprise
1111service from Opscode. The free tier has a limit of 5 nodes which is more then enough for development. Also
1212bear in mind that a local Chef Server VM will take up at least 1GB of RAM.
1313
@@ -24,6 +24,8 @@ bear in mind that a local Chef Server VM will take up at least 1GB of RAM.
2424 * Click on the 'Administration' tab and choose your organisation. There should be a tab in the sidebar that says
2525 'Starter Kit'. Click it and it will start a small download.
2626 * Inside the Starter Kit there is a '.chef' folder. Copy it to the root of your Deis codebase.
27+ * **NB**: You can also manage your Chef Server through https://manage.opscode.com This is the old
28+ interface and has more features, like being able to add clients to permission groups.
2729
28303 . Now you can follow the standard deis setup:
2931 ``` bash
@@ -34,25 +36,28 @@ bear in mind that a local Chef Server VM will take up at least 1GB of RAM.
3436 ```
3537
36384 . Use the provision script to boot the deis controller.
37- * If you don't already have the deis-node Vagrant box installed (~ 1GB). This step might take a long time! If for some reason
39+ * If you don't already have the deis-node Vagrant box installed (~ 1GB). This step might take a long time! If for some reason
3840 you want to manually add it, use:
3941 ` vagrant box add deis-node https://s3-us-west-2.amazonaws.com/opdemand/deis-node.box `
4042 * ` cd contrib/vagrant && ./provision-controller.sh `
4143 * You will be asked to add the Controller's SSH key to your local SSH server. This will allow the Controller
4244 to run vagrant commands on your machine to bootstrap new nodes.
43- * If you are using a local Chef Server you will need to tell it that your new controller has permission to create
44- nodes. Use:
45- ` knife client edit deis-controller `
46- and your default text editor will launch, you need to set 'admin' to 'true'.
45+ * You need to tell the Chef Server that your new Controller has permission to create
46+ and delete nodes. Use:
47+ * For a local Chef Server just type ` knife client edit deis-controller ` and your default text
48+ editor will launch, you need to set 'admin' to 'true'.
49+ * For Hosted Chef you need to log into https://manage.opscode.com/ Then goto the Groups tab,
50+ click the 'edit' link on the 'admins' row and then under the 'clients' heading toggle the
51+ 'deis-controller' radio button to be enabled. Then confirm the change by saving the group.
4752
48535 . The Controller needs to be able to run Vagrant commands on your host machine. It does this via SSH. Therefore
49- you will need a running SSH server open on port 22.
54+ you will need a running SSH server open on port 22 and a means to broadcast your hostname to local DNS .
5055 * On Debian-flavoured Linux you just need to;
5156 ` sudo apt-get install openssh-server `
5257 * On Mac OSX you just need to go to ** System Preferences -> Sharing** and enable 'Remote Login'.
53- * ** NB ** If your machine 's IP changes the Controller won't be able to run commands any more. Currently you aren't informed
54- of this, you just get a 500 error from the client. If you tail ` /var/log/deis/celeryd.log ` though you'll know. When this
55- does happen just reupload your IP with ` deis providers:discover ` .
58+ * [ Mac OSX user 's should already be broadcasting their hostname ] ( http://support.apple.com/kb/ht3473 ) .
59+ * Linux user's will need to install avahi-daemon, so that their machine is accessible via
60+ [ hostname ] .local. Eg; ` sudo apt-get install avahi-daemon ` .
5661
57626 . If you want to hack on the actual codebase, you can mount your local codebase onto the VM
5863 by using the custom Vagrantfile.local.
0 commit comments