Project

General

Profile

Actions

Bug #12284

open

host group parameter overrides reformatting YAML values to strings

Added by Kerguillec Paul over 8 years ago. Updated over 8 years ago.

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

Description

Adding an override to a smart class parameter of type YAML from host groups with the value:

---
- Apple
- Orange
- Strawberry
- Mango

results in the host edit form showing the parameter as:

--- ! '- Apple

  - Orange

  - Strawberry

  - Mango

'

As a workaround I override it again from host.
For mor complexe yaml example you may found "\n"


Files

before-submit.png View before-submit.png 135 KB Hector Elenes, 10/30/2015 09:15 PM
after-submit.png View after-submit.png 149 KB Hector Elenes, 10/30/2015 09:15 PM

Related issues 2 (0 open2 closed)

Related to Foreman - Bug #11375: Smart class parameters turn YAML to string when using a multi line yamlClosedDominic Cleal08/16/2015Actions
Related to Foreman - Bug #14292: Child hostgroup cloning issue with array parametersResolvedActions
Actions

Also available in: Atom PDF