On 2018-07-13 19:39, Helmut Schneider wrote:
Christopher Wood wrote:

Nice catch, wouldn't have figured on that.

You gave the hint with "if value.is_a? String" ;)

And now? Is that expected? What can I do, "if
@openvpnConf[parameter].is_a? Symbol"?! And what is a symbol and how do
I check if it empty?

Even more questionmark now...


You may be getting the symbol :undef which is used in some parts of puppet to represent puppet undef. In puppet 4x we changed a lot around
undef/nil.

Which version of puppet are you on?

- henrik

--

Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/

--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/pib2a2%249a5%241%40blaine.gmane.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to