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

23 lines
345 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
newparam(:pid_file) do
desc "A pid file"
end
end