inspec-profile-disa_stig-el7 icon indicating copy to clipboard operation
inspec-profile-disa_stig-el7 copied to clipboard

V-71999 throwing "undefined local variable or method `linux_update`"

Open ljkimmel opened this issue 4 years ago • 0 comments

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.

ljkimmel avatar Mar 26 '20 13:03 ljkimmel