puppet-prometheus_reporter
puppet-prometheus_reporter copied to clipboard
How to incorporate latest changes that aren't in Puppet Forge?
Hello! Great module, but I'm curious as to why the latest version of this module is 1.1.0, added to Puppet Forge on May 2nd 2021, but the readme and include significant options updates on May 28, 2024 (caused by this PR)? Why is the latest version of the code not versioned or in puppet forge?
Should I be adding the module to my puppet server in a different way? I prfer the manual installation method, aka, "puppet module install".
I could download directly to my environment modules folder, but according to Puppet Forge, when I select the Direct Download option, "Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code." I have looked around but not seen anything in other Vox Populi github repos to lead me to a better strategy at the moment than downloading directly into my modules folder
Apologies if I'm missing something obvious. Thanks!
You should use r10k to manage your puppet modules, it automates everything. In the end puppet is all about automation, why download its component modules manually. See more here and here. From these two links you can easily build yourself the automation you need through a Puppetfile and r10k to deploy your puppet code whether it's from internal or external sources, forge or github/gitlab. It will level up your entire puppet infrastructure.
Note that the links I provided are coming from Puppet Enterprise related documentation, but r10k is not at all limited to that specific puppet version, it is also available in the open source puppet, which is what I use. You can just install it on the puppetserver as a gem.
Another way to manage your modules is through the Code Manager. You can read in the link what are its strengths and weaknesses. I'd prefer r10k anyway. It gives you way more control overall.
Yes r10k (or g10k) are recommended but that doe not help with the fact noone made a release for a long time. I will prepare one
Yes r10k (or g10k) are recommended but that doe not help with the fact none made a release for a long time. I will prepare one
That's right! And it happens quite often with many modules. I guess maintainers have only so many hours a week, like all of us, so things are left behind, hence why I often use the git version of the module
mod 'apache',
:git => 'https://github.com/puppetlabs/puppetlabs-apache',
:branch => 'main'
@techsk8 fair enough. I would still advise to use a commit id instead of the default branch to avoid nasty surprises in prodution.
@techsk8 fair enough. I would still advise to use a commit id instead of the default branch to avoid nasty surprises in prodution.
you're right, I just took that example from puppetlabs docs.
Hi, I published a new release