You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the yum module to manage the default repositories, I get a messed up repofile. It still works, but it looks very chaotic because the whitespaces aren't correct. See the example below.
I am afraid there is nothing we can do about that. This module uses the resource type yumrepo which uses initial_setting and has the same side effect as you can see:
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
I'm using roles and profiles so this is in my
site/profile/manifests/base.pp
This is in my
data/common.yaml
What are you seeing
When using the yum module to manage the default repositories, I get a messed up repofile. It still works, but it looks very chaotic because the whitespaces aren't correct. See the example below.
/etc/yum/repos.d/CentOS-Base.repo
What behaviour did you expect instead
/etc/yum/repos.d/CentOS-Base.repo
Output log
Any additional information you'd like to impart
The example repository is looking fine. There's a separate example.repo file which has the following contents:
In attachment also the CentOS-Base.repo file in 3 different versions (added .txt for Github support):
The text was updated successfully, but these errors were encountered: