Henrik Lindberg wrote: > 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?
helmut@h2786452:~$ puppet -V 4.10.12 helmut@h2786452:~$ -- 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/xn0lcf2c9w6sqeg007%40news.gmane.org. For more options, visit https://groups.google.com/d/optout.
