salt icon indicating copy to clipboard operation
salt copied to clipboard

rvm.py does not respect runas parameter

Open ManuelAmadorAditazz opened this issue 13 years ago • 3 comments

def _rvm(command, arguments='', runas=None): if not runas: runas = salt'config.option' if not is_installed(): return False

is_installed() did not get passed runas.

As a result, this doc is broken:

http://docs.saltstack.org/en/latest/ref/states/all/salt.states.rvm.html

ManuelAmadorAditazz avatar Mar 19 '13 01:03 ManuelAmadorAditazz

I think this is a duplicate of another issue. We will hunt it down

thatch45 avatar Mar 19 '13 02:03 thatch45

@ManuelAmadorAditazz Can you try again from a git checkout? I believe this is a duplicate of https://github.com/saltstack/salt/issues/3743, which was fixed.

terminalmage avatar Mar 20 '13 02:03 terminalmage

Can't. Have it in production. As soon as there is a shipped version I will confirm. On Mar 19, 2013 7:21 PM, "Erik Johnson" [email protected] wrote:

@ManuelAmadorAditazz https://github.com/ManuelAmadorAditazz Can you try again from a git checkout? I believe this was fixed in #3743https://github.com/saltstack/salt/issues/3743 .

— Reply to this email directly or view it on GitHubhttps://github.com/saltstack/salt/issues/4152#issuecomment-15155112 .

ManuelAmadorAditazz avatar Mar 20 '13 02:03 ManuelAmadorAditazz