Project

General

Profile

Actions

Bug #1512

closed

Cannot give parameter empty value

Added by Jan van Eldik about 12 years ago. Updated over 9 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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


Related issues 1 (0 open1 closed)

Is duplicate of Foreman - Feature #215: Allow blank values for parametersClosedOri Rabin04/16/2010Actions
Actions #1

Updated by Ohad Levy about 12 years ago

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

Actions #2

Updated by Steve Traylen about 12 years ago

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,

Actions #3

Updated by Dominic Cleal over 9 years ago

  • Related to deleted (Feature #215: Allow blank values for parameters)
Actions #4

Updated by Dominic Cleal over 9 years ago

  • Is duplicate of Feature #215: Allow blank values for parameters added
Actions #5

Updated by Dominic Cleal over 9 years ago

  • Description updated (diff)
  • Status changed from New to Duplicate

#215 does indeed fix this. At long last.

Actions

Also available in: Atom PDF