Bug #1512
closed
Cannot give parameter empty value
Added by Jan van Eldik almost 13 years ago.
Updated over 10 years ago.
Description
Setting parameter with "Name=hello", "Value=world" works fine.
Changing the value to an empty string seems to be accepted by
the "Edit" interface, but the YAML does not change, and the
when re-selecting the host, the "Edit" interface presents the
old value "world".
Applies to foreman-0.4.2-0.1.noarch
do you want to allow an empty var or are you complaining that by changing to empty var it keeps the old value?
see also #215
To allow an empty var.
This came up where a global variable was set
x='y'
but then it seems not to be possible to subsequently effectively unset the variable in hostgroup or host.
Being able to set
x=''
would do the trick I believe. So this probably is a duplicate of #215.
Steve and Jan,
- Related to deleted (Feature #215: Allow blank values for parameters)
- Is duplicate of Feature #215: Allow blank values for parameters added
- Description updated (diff)
- Status changed from New to Duplicate
#215 does indeed fix this. At long last.
Also available in: Atom
PDF