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
Using chef solo to quickly install a chef server instance on CentOS 6.5
Copy the private key (.pem) files from the chef-server to the local .chef directory. You may use the admin user if you are the only user using this server. client-validator is a required key.
Create two network interfaces. A NAT interface for internet access. A Host-only interface for consistent connectivity between the workstation with the server and the other VMs
cp config/local.rb.example config/local.rb | You don't need to change anything if you are not planning to override the default settings.
From the terminal vagrant up
Add '192.168.33.10 chefserver' or the overridden LocalConfig::Attr[:ip] to your hosts file
Add other virtual machines to the same Host-only network if you want them to work with each other.
Once the machine finishes installing, go to https://chefserver (or https://192.168.33.10) to verify that the server is working. There will be a warning the first time you do this because there is no SSL certificate on this server. This is normal, just add an exception.
Recommended Plugins
The script still works without any of them. But they will make working Vagrant a bit easier
vagrant-vbguest works great most of the time however it's incompatible with base centos-6.5 [issue] therefore it's disabled in this script. The work around involves vagrant ssh into the machine, update the kernel sudo yum -y update kernel, do a full vagrant halt, change config.vbguest.no_install = false before vagrant up again.