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

How to use puppet module version in the manifest?

$
0
0
We configure repositories (Yum and Apt) with package versions based on the version of the Puppet module. e.g. if the manifest (through Puppetfile) has Puppet module version 3.2 then we want the repo URL to contain the string "3.2" somewhere. Right now, we have a fact which extracts the module version from the output of `"puppet module list"`, but this works only when the module is installed locally (e.g. in Vagrant, or when running stand-alone agent), but not when using Puppet Master. Is there a way to include the module version in the manifest automatically, without having to maintain the variable "manually"?

Viewing all articles
Browse latest Browse all 6104

Trending Articles



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