summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/functions/search.rb
blob: 8a9c7c8be3880d21aa6a7fc173e3108da9cb7c76 (plain)
1
2
3
4
5
6
7
Puppet::Parser::Functions::newfunction(:search, :doc => "Add another namespace for this class to search.
    This allows you to create classes with sets of definitions and add
    those classes to another class's search path.") do |vals|
    vals.each do |val|
      add_namespace(val)
    end
end