In updating my code for puppet4, I've found simply enclosing the facts in 
double-quotes is all that is needed. These cases are generally an issue where 
the fact involved is parsed on a system where the fact isn't defined, so by 
putting double-quotes, you retain the fact for platforms that have it, and it 
returns to nil for those that don't.

-- 
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/46d466c3-540d-4342-94f5-d79830f1b477%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to