Project

General

Profile

Actions

Bug #26576

open

Puppet class parameter type ignored if Boolean=false, ignores updates

Added by Jacek Mierzwa about 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Puppet integration
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Please consider following Puppet class

class class1 (
$param1 = true,
$param2 = 'something',
Boolean $param3 = true,
$param4 = false
) {
}

Current release is having issues reading param4 type.
While param1,2,3 are read correctly (boolean-string-boolean), param4 is imported into Foreman as string.

Moreover, let's say we change $param1 default type to string:
class class1 (
$param1 = 'true',
$param2 = 'something',
Boolean $param3 = true,
$param4 = false
) {
}

Foreman does not detect this change, param1 stays boolean.

No data to display

Actions

Also available in: Atom PDF