You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This spec test validates that an unscoped fact like $osfamily is not detected or remediated. I think that it should be detected, especially in context of Puppet 8 deprecating those facts.
This means that people writing code that shadows those legacy facts by using the same variable name will now trigger a warning. If they genuinely want to do that, then they can configure the linter to skip that code 😁
@alexjfisher I think that it should still correct this. If the user dislikes that style and disables that check, the legacy fact check should still identify known obsoleted facts.
This spec test validates that an unscoped fact like
$osfamily
is not detected or remediated. I think that it should be detected, especially in context of Puppet 8 deprecating those facts.This means that people writing code that shadows those legacy facts by using the same variable name will now trigger a warning. If they genuinely want to do that, then they can configure the linter to skip that code 😁
@joshcooper @bastelfreak
The text was updated successfully, but these errors were encountered: