That's how my Vagrantfile
looks :
config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "cookbooks"
chef.json = {
postgresql: {
password: {
postgres: 'password'
}
},
database: {
create: ['mydb']
},
'build-essential' => {
compiletime: true
}
}
chef.run_list = ['recipe[build-essential]', 'recipe[openssl]', 'recipe[postgresql::server]', 'recipe[database::postgresql]']
end
Also I used precise32
box.
And while my VM starts after vagrant up
, I get very long traceback with error message: undefined method
ruby' for Config:Module`.
Does anybody encountered this?