Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

V-71999 throwing "undefined local variable or method linux_update" #149

@ljkimmel

Description

@ljkimmel

This looks like a scoping issue for utilizing resource references inside of describe and/or subject blocks. Setting a variable to the contents of the resource outside of the block seems to fix the issue.

I don't fully understand Inspec scoping so there might be a more elegant solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions