Re: [Puppet Users] Re: Using Package and Yumrepo together? Why is yumrepo creating a corrupt .repo file?

2015-12-04 Thread Stefan Lasiewski
I'm trying Augeas as a workaround. This seems to work as expected-- the Package is installed first, and the file is modified second. class stefanl::remi ( $ensure = 'latest',

Re: [Puppet Users] Re: Using Package and Yumrepo together? Why is yumrepo creating a corrupt .repo file?

2015-11-17 Thread Stefan Lasiewski
Unfortunately, I do not have a workaround, short of "Don't use the Yumrepo and Package types together". Does anyone else have a better way to workaround this bug? -= Stefan On Friday, November 13, 2015 at 9:58:26 AM UTC-8, Stefan Lasiewski wrote: > > On Fri, Nov 13, 2015 at 6:36 AM, jcbollinger

Re: [Puppet Users] Re: Using Package and Yumrepo together? Why is yumrepo creating a corrupt .repo file?

2015-11-13 Thread Stefan Lasiewski
On Fri, Nov 13, 2015 at 6:36 AM, jcbollinger wrote: > > > That chain of events seems unlikely. In the first place, I'm not prepared > to believe that when applying a catalog corresponding to the declarations > you presented, the agent fails to successfully apply > Package['remi-release'] before i

Re: [Puppet Users] Re: Using Package and Yumrepo together? Why is yumrepo creating a corrupt .repo file?

2015-11-13 Thread Stefan Lasiewski
On Fri, Nov 13, 2015 at 1:45 AM, Thomas Müller wrote: > > I suspect the yumrepo type removes lines not provided in the puppet > manifest. > I also use this same formula for several other Yum repos, such as mysql-community, EPEL, Software Collections and Repoforge. Yumrepo doesn't remove lines in

[Puppet Users] Re: Using Package and Yumrepo together? Why is yumrepo creating a corrupt .repo file?

2015-11-13 Thread jcbollinger
On Thursday, November 12, 2015 at 7:40:30 PM UTC-6, Stefan Lasiewski wrote: > > Hello Everyone, > > I am running Puppet 3.8 on CentOS 6. I'm trying to install a yum > repository from an RPM package, as well as modify the contents of the .repo > file after the package is installed. > > My exampl

[Puppet Users] Re: Using Package and Yumrepo together? Why is yumrepo creating a corrupt .repo file?

2015-11-13 Thread Thomas Müller
Am Freitag, 13. November 2015 02:40:30 UTC+1 schrieb Stefan Lasiewski: > > Hello Everyone, > > I am running Puppet 3.8 on CentOS 6. I'm trying to install a yum > repository from an RPM package, as well as modify the contents of the .repo > file after the package is installed. > > My example man