puppet-standalone-mashup/shared/lib/puppet/parser/functions/sbin_path.rb
2012-05-02 18:17:23 -04:00

8 lines
196 B
Ruby

require 'puppet/modules/common_directories'
module Puppet::Parser::Functions
newfunction(:sbin_path, :type => :rvalue) do |args|
sbin_path(lookupvar('base::install_path'), *args)
end
end