1e178870bb384d5bdbac67bcce8e06b7cd088a2b
[mirror/dsa-puppet.git] / 3rdparty / modules / certregen / lib / puppet / parser / functions / is_classified_with.rb
1 Puppet::Parser::Functions::newfunction(:is_classified_with, :arity => 1,
2                                        :type => :rvalue) do |(str)|
3   compiler.node.classes.keys.include?(str)
4 end