Issue #3534 has been updated by Daniel Pittman.

The ENC probably also needs maps added at the same time.  The UI and 
communication paths should be approximately the same for handling both, I 
expect, at least at the YAML level.
----------------------------------------
Feature #3534: Dashboard should support ability to set variables as arrays in 
the ENC
https://projects.puppetlabs.com/issues/3534

Author: Stefan Goethals
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: 
Keywords: 
Branch: 
Affected URL: 
Affected Dashboard version: 


**New description:**

When editing a node, you can add arbitrary key/value pairs as parameters.  
Currently the value is treated as a string.  We need:

* syntax for array values,
* correct reading/writing of array values.

----

**Original description:**

When assigning a parameter on a node as an array, the external node tool 
returns it, escaped, as a string,
<pre>
# /usr/local/puppet-dashboard/bin/external_node <node>
--- 
name: <node>
parameters: 
  arraytest: "[ \"one\", \"two\" ]"
classes: 
- puppet::server
...
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to