On Tuesday, May 20, 2014 4:24:01 PM UTC-5, Johan De Wit wrote:
>
>  the yumrepo resource creates a *.repo file for every resource.
>


Yes, if the repo definition does not already exist.  If it does exist then 
Puppet manages it in whatever file contains it.  Or it should do, and used 
to do.  I thought I had seen a ticket about a regression in that area, but 
I'm having trouble finding it now.

 

>   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.
>
>

One file or several should not be a problem for Puppet.

If the file continues to flap, however, instead of just flapping once, then 
something very strange is going on.  Puppet should not be modifying the 
file if all the managed properties are already in the correct target state, 
even if the location or formatting details are not what Puppet would use.  
That would indeed be a bug that should be reported.


John

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/9e0648f1-aa50-4b1c-8bc6-e09d0051886a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to