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

9 lines
191 B
Ruby
Raw Normal View History

2011-12-08 13:58:22 +00:00
require 'puppet/modules/common_directories'
module Puppet::Parser::Functions
newfunction(:pid_path, :type => :rvalue) do |args|
pid_path(lookupvar('base::pid_path'), *args)
end
end