genome / ptero-workflow

Client-facing API for the PTero system
1 stars 6 forks source link

Change sudo to sudo -i when calling rabbitmq-plugins #262

Closed mcallaway closed 8 years ago

mcallaway commented 8 years ago

Alter sudo to sudo -i. Without the -i, the sudo rabbitmq-plugins call will leave an ~/.erlang.cookie file owned by root in the user's home directory. This is user 'ubuntu' when using Vagrant with a trusty VM.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.1%) to 88.767% when pulling 4f7dbd1bbf365d6ddc1b992c61a783fc86ac3f3b on mcallaway:mcallawa_sudo_i into 162d74356cb477cb0683f351fb9d9ecad5510ac4 on genome:master.

mkiwala commented 8 years ago

+1