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

undefined local variable or method `line' for LVM::External:Module #10

Closed
jeffpm opened this issue Apr 25, 2022 · 0 comments · Fixed by #12
Closed

undefined local variable or method `line' for LVM::External:Module #10

jeffpm opened this issue Apr 25, 2022 · 0 comments · Fixed by #12
Labels
Status: Untriaged An issue that has yet to be triaged.

Comments

@jeffpm
Copy link

jeffpm commented Apr 25, 2022

Version:

[Version of the project installed]
0.4.1

Environment:

[Details about the environment such as the Operating System, cookbook details, etc...]
RHEL7

Scenario:

[What you are trying to achieve and you can't?]

Steps to Reproduce:

I am using a cookbook that has worked for several years. This morning while performing a deployment, we started to receive error
undefined local variable or method 'line' for LVM::External:Module only when using chef-ruby-lvm 0.4.1.
0.4.0 works as expected.

Create a volume using the gem

lvm = LVM::LVM.new

[If you are filing an issue what are the things we need to do in order to repro your problem?]

Expected Result:

[What are you expecting to happen as the consequence of above reproduction steps?]

The volume should be created

Actual Result:

[What actually happens after the reproduction steps?]

Receive error undefined local variable or method line' for LVM::External:Module`

@jeffpm jeffpm added the Status: Untriaged An issue that has yet to be triaged. label Apr 25, 2022
wheatevo added a commit to wheatevo/chef-ruby-lvm that referenced this issue Apr 27, 2022
This is a regression that was introduced in commit
9e73c28. The change is a simple fix
to ensure the line variable is defined at the time it is accessed.

Fixes sous-chefs#10

Signed-off-by: Matthew Newell <[email protected]>
damacus pushed a commit that referenced this issue May 16, 2022
This is a regression that was introduced in commit
9e73c28. The change is a simple fix
to ensure the line variable is defined at the time it is accessed.

Fixes #10

Signed-off-by: Matthew Newell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Untriaged An issue that has yet to be triaged.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant