Seemingly when my type is collected from puppetdb, somewhere in the chain an implicit type cast occurs. It only seems to occur with arrays containing a single element.
Kind of annoying in that I can't put type validation in the defined type and have to 'Array(@value)' in templates. Can't seem to find any mention of this behaviour, any pointers?
DataCentred Limited registered in England and Wales no. 05611763
Wyatt Alt
unread,
Oct 12, 2015, 11:17:53 AM10/12/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
It's a known bug, and last time I looked at it wasn't clear whether the
issue was Puppet or PDB, but I just tried it on Puppet 4.2.2/PuppetDB
3.1.0 and I can't reproduce:
so I'm thinking it may have been fixed on the Puppet side. What versions
are you running?
Wyatt
Simon Murray
unread,
Oct 13, 2015, 5:36:06 AM10/13/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wyatt Alt, puppet...@googlegroups.com
Thanks Wyatt, my google fu is weak :)
I'm stuck on puppetserver 1.1.1 and puppetdb 2.3.7 for the time being in my dev environment. I'll upgrade to the PC1 packages once I've got this current code deployed into production and see if it makes life easier.