Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

checkpid default process name #10

Open
khappone opened this issue Jul 11, 2014 · 1 comment
Open

checkpid default process name #10

khappone opened this issue Jul 11, 2014 · 1 comment

Comments

@khappone
Copy link

checkpid.pp now has this

$real_process = $process ? {
'' => $process,
default => $name,
}

but subsequently only $process is used instead of $real_process.
I assume the intention was to use $real_process so you could define a check like so, without explicity defining "process"

monit::checkpid { "httpd": }

@alvagante
Copy link
Member

Yes , that's something to fix, but I think it has to be fixed also the order in the above part, I hink it should be:
$real_process = $process ? {
'' => $name,
default => $process,
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants