You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* If you are on a OS X your should `vagrant ssh` into the chef server and set the hostname to `chefserver.local`.
21
+
Do this by running:
22
+
23
+
```
24
+
sudo hostname 'chefserver.local'
25
+
echo "chefserver.local" | sudo tee /etc/hostname
26
+
sudo chef-server-ctl reconfigure
27
+
```
20
28
21
29
**Hosted Chef Server**
22
30
* Goto https://getchef.opscode.com/signup and fill in your details.
@@ -28,12 +36,14 @@ bear in mind that a local Chef Server VM will take up at least 1GB of RAM.
28
36
interface and has more features, like being able to add clients to permission groups.
29
37
30
38
3. Now you can follow the standard deis setup:
39
+
* If your running a local chef server you should adjust the `Gemfile` and make sure the version of berkshelf is 3.0.x. This is needed for the `--ssl-verify=false` to work correctly.
31
40
```bash
32
41
bundle install # Installs gem files like the knife tool
33
42
berks install # Downloads the relevant cookbooks
34
43
# '--ssl-verify' is only needed when using a local Chef Server
35
44
berks upload [--ssl-verify=false] # Upload the cookbooks to the Chef Server
36
45
```
46
+
37
47
38
48
4. The Controller needs to be able to run Vagrant commands on your host machine. It does this via SSH. Therefore
39
49
you will need a running SSH server open on port 22 and a means to broadcast your hostname to local DNS.
0 commit comments