Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

New to Puppet. How do you use facts in modules in puppet 5?

$
0
0
I'm trying to use a facter fact in puppet 5 to determine a package version to install. I tried using this fact os.release.major in a if statement so: if ::os.release.major == '7' { } . Im not exactly sure what the correct syntax is.

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>