I'm planning to migrate puppet3.8 to 4.x, so testing the compatibility of 
code by using parser=future in puppet.conf file and was stuck at the 
following error when i run puppet agent. The error is pointing at the 
regular expression. Any help is appreciated.

Code:
---------------
if ($::enable_nfsd !~ /^false$/) and (($:: enalbe_nfsd =~ /^true$/) or 
($::local_nfsd == "true"))

---------------


Error 400 on server: Evaluation Error: left match operand must result in a 
string value. Got an undef value at *****.pp .

-- 
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/abda8229-0c5a-417e-bebd-eefc2b545b50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to