Slackbot
05/01/2023, 5:34 PMvchepkov
05/01/2023, 5:36 PMPuppet::Parser::Functions::newfunction(:is_classified_with, :arity => 1,
:type => :rvalue) do |(str)|
compiler.node.classes.keys.include?(str)
end
vchepkov
05/01/2023, 5:37 PMcsharpsteen
05/01/2023, 6:15 PMvchepkov
05/01/2023, 6:18 PMdefined
function never worked to detect those classes