On Monday, July 6, 2015 at 12:14:30 PM UTC-5, Vince Skahan wrote:
>
> On Monday, July 6, 2015 at 7:44:17 AM UTC-7, jcbollinger wrote:
>

[...] 
 

>
> If you are concerned that unmanaged repos may be be added to your systems, 
>> and you are running at least Puppet 3.5, then you should be able to use the 
>> Resources metaresource to purge unmanaged repos.
>>
>>
> I'm struggling with translating that last statement into English I can 
> understand.....have an example I could try ?
>
>

Yes:

resources { 'purge unmanaged Yum repos':
  name => 'yumrepo',
  purge => true
}

Warning: apply that *only* to systems on which all repo definitions you 
want to retain are managed by Yumrepo resources.  Any others (that Puppet 
finds) will be completely removed.

See the docs for the Resources (meta-) resource type 
<https://docs.puppetlabs.com/references/3.stable/type.html#resources> for a 
bit more information.


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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/0b0337c7-17db-4b54-8661-838845b7a992%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to