puppet-standalone-mashup/shared/lib/puppet/parser/functions/sbin_path.rb

8 lines
198 B
Ruby
Raw Normal View History

require 'puppet/modules/common_directories'
module Puppet::Parser::Functions
newfunction(:sbin_path, :type => :rvalue) do |args|
2012-06-04 19:05:38 +00:00
sbin_path(lookupvar('::base::install_path'), *args)
end
end