Calls to firewallchain
failing due to undefined Facter::ResolvedFact.flush
#1070
Labels
firewallchain
failing due to undefined Facter::ResolvedFact.flush
#1070
Describe the Bug
Multiple calls to
firewallchain
are failing with the errorwhich I believe is triggered by this line, as it's the only call to that method. However, in my rudimentary understanding of Ruby, this line should never cause an error, as it is explicitly checking that the method is defined before attempting to call it.
Expected Behavior
Either the
flush
method shouldn't be called, as it's undefined, or it should be called when it is defined.Steps to Reproduce
I'm not sure I can reproduce this in a simplified environment, as the error is occurring on a new VM, but was not happening on older VMs. Here's part of my offending class:
Environment
The text was updated successfully, but these errors were encountered: