puppet-standalone-mashup/shared/lib/puppet/parser/functions/pid_path.rb
2012-06-04 15:05:38 -04:00

9 lines
193 B
Ruby

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