/chef_repo

Primary LanguageRuby

Download cookbooks - update the submodules

git submodule update --init

Install and launch vagrant

gem install vagrant

vagrant up

Setup SSH on vragrant to use PK authentication

cat ~/.ssh/id_rsa.pub | ssh vagrant@192.168.0.10 "cat >> ~/.ssh/authorized_keys; chmod 600 ~/.ssh/authorized_keys"

Password is vagrant, see http://docs-v1.vagrantup.com/v1/docs/base_boxes.html

Setup chef locally and cook vagrant

gem install knife-solo

knife solo prepare vagrant@192.168.0.10

knife solo cook vagrant@192.168.0.10 nodes/default.json

Issue with Postgres localization

Vagrant issue with posgresql

http://www.softr.li/blog/2012/05/22/chef-recipe-to-install-a-postgresql-server-on-a-machine-configured-with-en_us-locales