-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Amazon Linux manage_os_default_repos does not compile due to unsupported parameters #100
Comments
I'm looking into a PR for puppet to support fastestmirror_enabled and report_instanceid. However, despite the fact that the amazon default repo configuration contains the parameter fastestmirror_enabled, and Chef already supports it - I have not been able to find any code or documentation in yum or the fastestmirror plugin for yum that suggests it supports enable/disable at the per-repository level. |
Update Amazon default OS repos to not define unsupported parameters until voxpupuli#100 is resolved
Based upon the result of https://tickets.puppetlabs.com/browse/PUP-8730 being Won'tFix, instead raising https://tickets.puppetlabs.com/browse/PUP-8904 to modify the Yumrepo type for implementation in Puppet 6, I would like to request that until such time as there is a valid way to define these unsupported paramaters, they be removed from the current data file for Amazon Linux in this module so that this module's basic functionality can still be used to manage the default repos in Amazon Linux. |
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
Failure to configure Amazon Linux default puppet repos due to the setting of parameters that Yumrepo does not support, such as fastestmirror_enabled and report_instanceid
What behaviour did you expect instead
Amazon default yum repos successfully configured
Output log
Error: no parameter named 'fastestmirror_enabled' (file: /etc/puppetlabs/code/environments/mot2/modules/yum/manifests/init.pp, line: 130) on Yumrepo[amzn-main] (file: /etc/puppetlabs/code/environments/mot2/modules/yum/manifests/init.pp, line: 130)
The text was updated successfully, but these errors were encountered: