There may be a more Puppety way of doing this, but your disable/enable
method can be done with Puppet too. You can pass those options in the
install_options for your Package.
https://docs.puppetlabs.com/references/latest/type.html#package-attribute-install_options
Christopher Peterson
On 07/02/2
We've set up local mirrors of a number of upstream repos, and want to point
our puppet-managed boxes at the local mirrors only.
Assuming we named our mirror repos local-mirror-whatever, if I was using
yum on the commandline, I could do it on the fly by disabling all repos and
then enabling the