Skip to content

Commit 2896fa4

Browse files
author
Matthew Fisher
committed
Merge pull request #623 from tscheepers/patch-1
Updated vagrant readme
2 parents 5c2a849 + 1b8af22 commit 2896fa4

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

contrib/vagrant/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ bear in mind that a local Chef Server VM will take up at least 1GB of RAM.
2828
interface and has more features, like being able to add clients to permission groups.
2929

3030
3. Now you can follow the standard deis setup:
31+
* If you're 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` option to work correctly.
3132
```bash
3233
bundle install # Installs gem files like the knife tool
3334
berks install # Downloads the relevant cookbooks

contrib/vagrant/chef-server/Vagrantfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ Vagrant.configure("2") do |config|
2727
sudo aptitude install avahi-daemon avahi-discover libnss-mdns -y
2828
sudo wget https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef-server_11.0.8-1.ubuntu.12.04_amd64.deb
2929
sudo dpkg -i chef-server_11.0.8-1.ubuntu.12.04_amd64.deb
30+
sudo hostname 'chefserver.local'
31+
echo "chefserver.local" | sudo tee /etc/hostname
3032
sudo chef-server-ctl reconfigure
3133
sudo chef-server-ctl test # Optional
3234
fi

0 commit comments

Comments
 (0)