Project

General

Profile

Actions

Feature #459

closed

Parameters should be allowed to be blank

Added by Jisakiel Kiel over 13 years ago. Updated over 11 years ago.

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

Description

There are many valid uses for a blank parameter (say, overriding $sudo_users for a host ). However foreman does not accept a blank, and if given "" it returns "\"\"" when used as a external node provisioning tool.

I tried removing the :value checks in in app/models/parameters.rb and it accepts into the database empty values. However it still doesn't work adding a parameter with no value to a host: it doesn't reject it but it doesn't save it either.

Actions

Also available in: Atom PDF