Are the errata available as YUM packages? In that case it might be simpler 
to create a separate repository (using createrepo) and a Puppet yumrepo 
resource.

On Friday, 2 February 2018 18:05:26 UTC+2, Andrew Schofield wrote:
>
> Hi all,
>
> I'm trying to customize the existing package type by adding an additional 
> option for the ensure option so that I would be able to do the following:
>
> package { 'RHSA-2018:0001' : 
>   ensure => 'errata'
> }
>
> I have a new provider named errata which sort of works but is far too 
> sensitive to other options (as I can't find out how to customize the type) 
> I'd rather not specify a new provider unless there is no other way. The 
> idea behind this is to extend the default Package resource type to include 
> support for errata on Fedora / RHEL systems. 
>
> Does anybody have any hints and/or links to documentation which might 
> explain how (or even if) this is achievable? My googling isn't really 
> bringing much useful information. 
> Thanks,
> Andrew
>

-- 
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/e4827bf8-babe-4e9e-8334-28b5aa7f0df3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to