2011-12-07 22:59:34 +00:00
|
|
|
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
|
|
|
|
|
2011-12-07 22:59:34 +00:00
|
|
|
newparam(:pid_file) do
|
|
|
|
desc "A pid file"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|