Alan Shields 33538d2900 Set the home directory to /root when using sudo
Encountered this issue while using puppet. Created configuration file /root/.my.cnf
but mysql was looking for /home/vagrant/.my.cnf

Passing -H to sudo causes sudo to set env HOME=/root/
2011-07-02 21:43:53 -07:00
..
2011-05-13 17:23:24 -07:00
2010-09-22 09:43:30 -06:00
2011-05-13 17:23:24 -07:00
2010-09-27 12:21:34 -07:00
2011-05-16 13:03:04 -07:00