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

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

@icinga-migration

Description

@icinga-migration

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions