23 lines
345 B
Ruby
23 lines
345 B
Ruby
|
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
|
||
|
|