Problem:
I import Puppet Modules with class parameters as “Float” and with default values. Foreman correctly sets the type to “Real”, but I cannot modify the decimal places in the values.
class ros2configuration::gnss_fix_position_adapter::fix (
Float $latitude = 49.12345,
Float $longitude = 6.9,
Float $altitude = 250.0,
Integer $rateHz = 5,
Float $speed = 10.0,
Float $heading = 250.0,
) {
...
}
When I modify the Smart Class Parameter for a host (e.g. setting latitude == 49.11111), I get the error:
Please select a valid value. The two nearest valid values are 48.12345 and 49.12345
As mentioned, the Smart Class Parameter is “Real” and there are no Input Validators.
Expected outcome:
Setting the value to whatever Float I want (e.g. 49.345678) should be possible. Especially, editing the decimal places should work.
Foreman and Proxy versions:
Foreman: 3.18.1
Puppet smartproxy: 3.18.1
Puppet Agent: 8.10.0
Puppet Server: 8.7.0
Foreman and Proxy plugin versions:
foreman_puppet: 9.1.0
Distribution and version:
Ubuntu 22.04
Other relevant data: