dm-academy / Calavera

DEPRECATED. I managed to squeeze another year out of this, but moving on to a Docker platform in Calavera2. [This is a project to create a simplified, reproduceable DevOps pipeline for educational purposes, using git, Vagrant, Chef, Java, JUnit, Ant, Jenkins, Artifactory, and related technologies. ]
https://github.com/CharlesTBetz/Calavera/wiki/Calavera-Home
MIT License
34 stars 32 forks source link

hombros failing on vagrant up - fix ssh #4

Closed CharlesTBetz closed 9 years ago

CharlesTBetz commented 9 years ago

Hombros is failing on vagrant up:

Recipe Compile Error in /tmp/vagrant-chef/411882505a992344385486cbec4abb0b/cookbooks/hombros/recipes/default.rb ==> hombros: ================================================================================ ==> hombros: ==> hombros: ==> hombros: Errno::ENOENT ==> hombros: ------------- ==> hombros: No such file or directory @ rb_sysopen - /home/vagrant/.ssh/id_rsa

Apparently the key needs to be present on compile, but the assumption is that the shared default recipe would populate.

Going to refactor so that the default script is run on the base image, which is pretty well behaved and I think it's OK to make it a requirement that the base image be created first.

Not sure why this is only surfacing now, probably previous builds were not starting from as clean a slate as I thought (/mnt/shared/keys not empty)

CharlesTBetz commented 9 years ago

should really refactor shared:default into something more explanatory and just for base

CharlesTBetz commented 9 years ago

fixed in corresponding branch.