puppet-standalone-mashup/shared/lib/puppet/type/god_init.rb

27 lines
429 B
Ruby
Raw Normal View History

Puppet::Type.newtype(:god_init) do
@doc = "A God configuration"
ensurable
newparam(:name) do
desc "The name of the process"
end
newparam(:start) do
desc "The command to start the process"
end
newparam(:stop) do
desc "The command to stop the process"
end
2012-02-28 20:07:55 +00:00
newparam(:restart) do
desc "The command to restart/reload the process"
end
newparam(:pid_file) do
desc "A pid file"
end
end