-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bash /tmp/rvm returned 1 instead of one of [0] #7
Comments
Can you tell me what OS you're deploying this on? Also, if you could please add the following line to the 'exec' block on line 15 in manifests/packages/common.pp logoutput => true, I'll be happy to take a look. Thanks! -James James Fryman On May 5, 2012, at 5:25 PM, Michał Czeraszkiewicz wrote:
|
System info: Debug info:
|
Interesting. The error you received: "Command exceeded timeout" usually means that the command has taken longer than 30 seconds or so. I've not seen this happen, but can happen when the connection to download RVM from upstream is slow. As a quick fix, try adding this line to the same exec block (line 15, manifests/packages/common.pp) and let me know if it works. If it does, then I'll submit an update upstream. timeout => '0', Thanks! -James James Fryman On May 7, 2012, at 3:38 PM, Michał Czeraszkiewicz wrote:
|
And here is the debug log:
|
I'm still a little confused here. Based on this output, everything looks fine, however the script is returning 1. Does RVM work on your system, or is it also broken in some way? Could you try to install ruby manually w/ RVM? Also, can you get the RVM version? (rvm --version) I'm trying to isolate whether this is an error in the puppet code, or an actual error upstream with RVM. We can fix the return code with a change to the exec block to expect a return of 1 if that's 'success', but this still feels off to me. -James James Fryman On May 8, 2012, at 2:48 PM, Michał Czeraszkiewicz wrote:
|
Some for me with Debian Squeeze 64, Puppet 2.6.2 and default setting: rvm::define::version { 'ree-1.8.7':
ensure => 'present',
system => 'false',
} |
While creating my devbox (https://github.com/czerasz/devbox) I noticed some strange error message.
I'm new to vagrant and puppet so I'm not sure if it depends on my configuration or the rvm module, but I decided to post it here.
Below the error message from the console:
The text was updated successfully, but these errors were encountered: