Project

General

Profile

Actions

Bug #11375

closed

Smart class parameters turn YAML to string when using a multi line yaml

Added by Ori Rabin over 8 years ago. Updated almost 6 years ago.

Status:
Closed
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 with the value:
test:
example: hello

results in the host edit form showing the parameter as: --- ! "test: \nexample: hello\n"


Files

deep_merge_exception.txt deep_merge_exception.txt 24.3 KB Anthony Lapenna, 10/27/2015 07:10 AM

Related issues 8 (2 open6 closed)

Related to Foreman - Tracker #4470: Usability of parameters and overridesNew

Actions
Related to Foreman - Bug #11782: Puppet override with invalid hash array doesn't give errorClosedDominic Cleal09/11/2015Actions
Related to Foreman - Bug #12095: Smart Class Parameters mangle erb interpolated variablesClosedDominic Cleal10/07/2015Actions
Related to Foreman - Bug #12284: host group parameter overrides reformatting YAML values to stringsNew10/23/2015Actions
Has duplicate Foreman - Bug #11830: Different results when adding a parameter override from a hostgroup vs puppet class directlyDuplicate09/15/2015Actions
Has duplicate Foreman - Bug #11962: Override of Host-Parameter is saved malformedDuplicate09/25/2015Actions
Has duplicate Foreman - Bug #12191: Array-typed smart parameters changed to broken JSONDuplicate10/15/2015Actions
Has duplicate Foreman - Bug #12324: Hash and array smart parameters are getting corrupted after multiple savesDuplicate10/27/2015Actions
Actions

Also available in: Atom PDF