-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make NRPE lens less strict #454
base: master
Are you sure you want to change the base?
Conversation
I am wondering whether it wouldn't be better to have the lens parse the comma-separated list of hosts so that the test
would become
The reason for that is so that users of the lens do not have to parse the list of hosts themselves. This will require a little more work on the |
Since there is a little bit of trickery involved, The main changes would be to disallow
It's actually not possible to get the structure I mentioned in my last post (at least not with quite a bit more headache in the lens). What the above would result in is
It's a little annoying that there is no way to get at the label of the parent node in the lens - otherwise we could just use that, instead of the somewhat goofy |
Or even
which breaks compatibility but makes more sense. |
Oh, apparently I never noticed your answers, sorry. I'd be happy to make changes to my patch if somebody tells me what the structure produced by the lens should look like. I don't really mind, but I suppose that breaking compatibility is not necessarily the best idea... |
I would strongly prefer a solution that does not break backwards compatibility. If
The
|
I currently don't have the time to do that. |
@lutter what do we do about this? Not merging it will break compatibility in Debian because they merged the patch 3 years ago… |
Yeah, that's unfortunate; we should just merge this as is, and live with the fact that we could have offered a better breakdown of the file. |
See Debian bug #749919