On Wednesday, April 23, 2014 1:07:18 PM UTC-5, Chris Neal wrote:
>
> Hi John,
>
> Thanks for the detailed reply.  That declaration appears on the Puppet 
> Forge site for that module as an example for what has to use for that 
> variable.  
>
> I took your suggestion and just modified the default value for the 
> variable and plugged that has in, and it works fine.
>
> There seems to be something different in the syntax for a hash when 
> entering it into the form data in Puppet Enterprise that I cannot figure 
> out.  I tried removing extra spaces, and making the single quotes double 
> ones, but that didn't work either.
>
>

See, THAT is exactly the kind of thing I was wondering about and looking 
for.  If you are providing the data by entering it into the console -- as 
opposed to putting it literally into a class declaration in a manifest file 
-- then everything makes sense.  In all likelihood, you are entering the 
parameter value into the console in a format that the console interprets as 
a string.  The docs (
http://docs.puppetlabs.com/pe/latest/console_classes_groups.html#editing-class-parameters-on-nodes,
 
"Supported Data Types" subsection) are not very expansive on this point, 
but it looks like maybe the console wants you to enclose hash values in 
backticks (`).  That's strangely inconsistent if true, but it would explain 
the observed behavior.


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/02fad754-ed21-4d17-aaba-1301a5965c51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to