Skip to content
This repository has been archived by the owner on Apr 16, 2018. It is now read-only.

[dev.icinga.com #11539] Allow null values for vars #351

Open
icinga-migration opened this issue Apr 7, 2016 · 0 comments
Open

[dev.icinga.com #11539] Allow null values for vars #351

icinga-migration opened this issue Apr 7, 2016 · 0 comments

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/11539

Created by invliD on 2016-04-07 00:09:43 +00:00

Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-04-07 00:09:43 +00:00 (in Redmine)


It's currently impossible to add a custom variable with a null value to an object. This can be necessary to override variables from a CheckCommand in a Service, for example.

The code at https://github.com/Icinga/puppet-icinga2/blob/develop/lib/puppet/icinga2/utils.rb only supports dicts, arrays, bools, ints, floats and strings, but not the undef/nil type.

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

No branches or pull requests

1 participant