Project

General

Profile

Actions

Bug #10088

open

Smart class default parameter interpreted as string

Added by Jérôme Vizcaino over 9 years ago. Updated about 9 years ago.

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

Description

How to reproduce this :

  • override a puppet class parameter
  • set the default value as a Hash (JSON or YAML seem to be impacted too)
  • enter a valid YAML containing ERB
  • save
  • go back to the puppet class and select the parameter
  • the parameter is displayed as a string !

It seems to be related to how the backend formats the text field, because when looking at the host parameter (YAML button on host page), the document content is valid (ie. parameter appears as a hash, not a string)


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #8052: Smart class parameters with ERB snippets are broken for other that String typesClosedMarek Hulán10/23/2014Actions
Actions

Also available in: Atom PDF