Closed
Description
- database.yml:
database: alm_<%= Rails.env %>
should bedatabase: lagotto_<%= Rails.env %>
- node.json:
"recipe[apt]"
needed before"recipe[lagotto]"
or the use of "apt-get install" is likely to fail because apt-get update hasn't happened recently enough. - node.json: new VM hostname is not actually set on the host. Possibly fixed by:
"recipe[hostname]"
again, before"recipe[lagotto]"
and with appropriate changes to the Cheffile, though I'm not sure yet. - Instructions (git clone... vagrant up...) need to say that the Vagrantfile needs to be modified for use with AWS (and probably other providers). For AWS the following is what I changed to:
aws.access_key_id = ENV['AWS_KEY_ID']
aws.secret_access_key = ENV['AWS_SECRET_KEY']
aws.keypair_name = ENV['AWS_KEYPAIR_NAME']
override.ssh.private_key_path = ENV['AWS_KEY_PATH']
- Instructions also need to indicate the need to change settings.yml, config.json, development.rb, production.rb et al to suit the need.