-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
target parameter not applying #54
Comments
It is possible to change the name parameter in the repos.yaml to descr. This this has the file name and repo contents populated correctly. |
With the 2.1.0 version of this module the target parameter is still not used. Is there another way to assign the file-name, and preferably combine multiple repos into one file? (Using RHEL 7.4 with the latest puppetserver open source version (5.1.4)) |
This looks like an issue in the puppet yumrepo resource type. I took a quick glance at the code and it looks like the variable target never gets referenced in the provider. The bug should be verified and reported against puppetlabs/puppet. |
It has been for some time: https://tickets.puppetlabs.com/browse/PUP-2782 |
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
builtin epel repository
What are you seeing
epel repository file gets written as:
/etc/yum.repos.d/Extra Packages for Enterprise Linux 7 - $basearch - Debug.repo
What behaviour did you expect instead
expected /etc/yum.repos.d/epel-debuginfo.repo
I expected the target parameter to control the file name based on the yumrepo resource type. I have seen that this is a previous know issue. Are there any recommendations to work around this? The only one I have is to remove the name parameter so that it takes the name of the resource.
Output log
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered: