Skip to content
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

now uses get_bin_path for lvg executables #3722

Merged
merged 3 commits into from
Aug 2, 2013

Conversation

bcoca
Copy link
Member

@bcoca bcoca commented Aug 1, 2013

should fix #3713 w/o needing setting path in enviornment: as a work around
Signed-off-by: Brian Coca briancoca+dev@gmail.com

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
@mpdehaan
Copy link
Contributor

mpdehaan commented Aug 1, 2013

Stylistic request:

+                        rc,_,err = module.run_command("%s %s"%(pvcreate_cmd,current_dev))

Can this be changed to:

+                        rc,_,err = module.run_command("%s %s" % (pvcreate_cmd, current_dev))

Thanks!

@bcoca
Copy link
Member Author

bcoca commented Aug 1, 2013

i tried to change as little as possible, followed the original style, but
yes, much more readable.

i'll update branch

On Wed, Jul 31, 2013 at 11:09 PM, Michael DeHaan
notifications@github.comwrote:

Stylistic request:

  • rc,_,err = module.run_command("%s %s"%(pvcreate_cmd,current_dev))

Can this be changed to:

  • rc,_,err = module.run_command("%s %s" % (pvcreate_cmd, current_dev))

Thanks!


Reply to this email directly or view it on GitHubhttps://github.com//pull/3722#issuecomment-21911755
.

Brian Coca
Stultorum infinitus est numerus
0110000101110010011001010110111000100111011101000010000001111001011011110111010100100000011100110110110101100001011100100111010000100001
Pedo mellon a minno

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
@sfromm
Copy link
Contributor

sfromm commented Aug 1, 2013

one small bug. at line 213, module.run_command() has a flawed call to vgextend:

rc,_,err = module.run_command("vgextend %s %s"%(vgextend_cmd, vg, devs_to_add_string))

Looks like it should be:

rc,_,err = module.run_command("%s %s %s" % (vgextend_cmd, vg, devs_to_add_string))

@bcoca
Copy link
Member Author

bcoca commented Aug 1, 2013

thnx, fixing

On Thu, Aug 1, 2013 at 12:21 AM, Stephen Fromm notifications@github.comwrote:

one small bug. at line 213, module.run_command() has a flawed call to
vgextend:

rc,_,err = module.run_command("vgextend %s %s"%(vgextend_cmd, vg, devs_to_add_string))

Looks like it should be:

rc,_,err = module.run_command("%s %s %s" % (vgextend_cmd, vg, devs_to_add_string))


Reply to this email directly or view it on GitHubhttps://github.com//pull/3722#issuecomment-21913727
.

Brian Coca
Stultorum infinitus est numerus
0110000101110010011001010110111000100111011101000010000001111001011011110111010100100000011100110110110101100001011100100111010000100001
Pedo mellon a minno

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
mpdehaan added a commit that referenced this pull request Aug 2, 2013
now uses get_bin_path for lvg executables
@mpdehaan mpdehaan merged commit 7f77b6c into ansible:devel Aug 2, 2013
@mpdehaan
Copy link
Contributor

mpdehaan commented Aug 2, 2013

merged, thank you!

@ansibot ansibot added bug This issue/PR relates to a bug. and removed bugfix_pull_request labels Mar 5, 2018
@ansible ansible locked and limited conversation to collaborators Apr 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue/PR relates to a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lvg module needs additional PATH environment to work with -K (sudo)
4 participants