AgilionApps / AgilionRecipes

Agilion Chef Recipes
3 stars 2 forks source link

Remove directive to create database.yml as user root. #17

Open glendudek opened 11 years ago

glendudek commented 11 years ago

This fails when executing via vagrant on an Ubuntu (11.10) development system as chef tries to execute a 'chown' on the NFS client, which is not permitted by the Ubuntu NFS server even though all client uids (including root) are mapped to the same uid on the server, alas. I am guessing the Max OS X NFS server allows the chown, as no owner uids will be changed by the chown.

alanpeabody commented 11 years ago

Thanks Glen!

I actually had to change this to use root for OSX. I am going to pull this down and play with it when I have a chance. I will see if I can get it working for both platforms.

glendudek commented 11 years ago

Damn, I was afraid of something like that. I'll poke around as well to see if I can come up with a different workaround. I also still need to upgrade to Ubuntu 12.04 LTS - I doubt the behaviour is different in 12.04, but it's possible.

Glen

On Fri, Aug 16, 2013 at 11:23 AM, Alan Peabody notifications@github.comwrote:

Thanks Glen!

I actually had to change this to use root for OSX. I am going to pull this down and play with it when I have a chance. I will see if I can get it working for both platforms.

— Reply to this email directly or view it on GitHubhttps://github.com/AgilionApps/AgilionRecipes/pull/17#issuecomment-22773268 .