I use a stroller with a puppet. My Puppetfile looks like this:
forge "http://forge.puppetlabs.com"
mod 'willdurand/nodejs'
I am using librarian-puppet v1.1.2 to download the necessary dependencies for Puppet. The recenlty tool began to display warnings at the time of provision:
Replacing Puppet Forge API URL to use v3 https://forgeapi.puppetlabs.com.
You should update your Puppetfile
Replacing the first line of Puppetfile with forge "https://forgeapi.puppetlabs.com"does not solve the problem. How much should I upgrade my Puppetfile to get rid of these warnings?
After I updated the forge.rbscript, as @AndreiFecioru suggested:
if uri =~ %r{^http(s)?://forge\.puppetlabs\.com}
puts "---------------> #{uri}"
uri = "https://forgeapi.puppetlabs.com"
warn { "Replacing Puppet Forge API URL to use v3 #{uri}. You should update your Puppetfile" }
end
The output is as follows:
$sudo librarian-puppet update
Replacing Puppet Forge API URL to use v3 https://forgeapi.puppetlabs.com. You should update your Puppetfile
...
I have no idea why the URL is different from mine Puppetfile. I tried uninstalling Puppetfile.lockand restarting librarian-puppet install- warnings are still displayed.