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

9 lines
203 B
Ruby
Raw Normal View History

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