--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/903782c7-828c-4fcb-9076-479c28650901%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/537B94C9.6000307%40nosbox.net.
For more options, visit https://groups.google.com/d/optout.
-- Johan De Wit Open Source Consultant Red Hat Certified Engineer (805008667232363) Puppet Certified Professional 2013/2014 (PCP0000006) _________________________________________________________ Open-Future Phone +32 (0)2/255 70 70 Zavelstraat 72 Fax +32 (0)2/255 70 71 3071 KORTENBERG Mobile +32 (0)474/42 40 73 BELGIUM http://www.open-future.be _________________________________________________________
Upcoming Events:
Linux Training | https://www.open-future.be/linux-training-5-till-9th-may
Puppet Introduction Course | https://www.open-future.be/puppet-introduction-course-12th-may
Puppet Fundamentals Training | https://www.open-future.be/puppet-fundamentals-training-13-till-15th-may
Zabbix Certified Specialist | https://www.open-future.be/zabbix-certified-specialist-training-19-till-21th-may
Zabbix Certified Professional | https://www.open-future.be/zabbix-certified-professional-training-22-till-23rd-may
Subscribe to our newsletter: http://eepurl.com/BUG8H
I agree with you about this potential conflict, but it's a default RedHat configuration with rhsm, and it does not manage exactly the same thing.
Puppet enable the "rhel-6-server-optional-rpms" which is not by enabled default, and we never said rhsm to enable it (redhat subscription side), so rhsm respect the local decision made via Puppet with the Yumrepo, so it's just a syntax conflict,
it could be a nice thing that Puppet use the same syntax.
Puppet manage the rhsm.conf file so i tried to disable the manage_repos option, but the redhat.repo file has been destroyed by the rhsmcertd service, and disabled all RedHat repositories.
Then Puppet creates the /etc/yum.repos.d/rhel-6-server-optional-rpms.repo file with just the "enabled=1" parameter currently define by the Yumrepo resource.
We don't want to (re)define all the redhat repository urls one by one with the YumRepo resource, maybe there is a better solution.
the yumrepo resource creates a *.repo file for every resource.
The redhat thing just puts all repos in one big file.
and if you remove the redhat.repo, on a subscribed system, this file will be recreated depending on the subscribed channel.