[Puppet Users] Another Discovered/Undocumented feature of yumrepo - and a workaround

2012-01-23 Thread Dan White
I was working with yumrepo, defining new entried and seeing them appear in /etc/yum.repos.d After considerable tinkering, and with the sad discovery that resource { 'yumrepo': purge = true } does not work, I moved my working /etc/yum.repos.d to /etc/yum.repos.d-old and re-ran my catalog. To

Re: [Puppet Users] Another Discovered/Undocumented feature of yumrepo - and a workaround

2012-01-23 Thread Gary Larizza
Hey there, If you're going through all that, and are trying to get a purge-able directory of resources, would you find it easier to declare the /etc/yum.repos.d directory with purge = true, and then declare your repos as file declarations? An exec of 'yum -makecache' set to refreshonly = true

Re: [Puppet Users] Another Discovered/Undocumented feature of yumrepo - and a workaround

2012-01-23 Thread R.I.Pienaar
- Original Message - Hey there, If you're going through all that, and are trying to get a purge-able directory of resources, would you find it easier to declare the /etc/yum.repos.d directory with purge = true, and then declare your repos as file declarations? An exec of 'yum

Re: [Puppet Users] Another Discovered/Undocumented feature of yumrepo - and a workaround

2012-01-23 Thread Dan White
Yes, I could do it that way and I did before i realized that there was a yumrepo resource. Let me try a different approach: Is there something in the yumrepo resource definition that will let me remove the info from the system ? I can live with just disabling the repo, but I have some rabid

Re: [Puppet Users] Another Discovered/Undocumented feature of yumrepo - and a workaround

2012-01-23 Thread Dan White
- R.I.Pienaar r...@devco.net wrote: - Original Message - Hey there, If you're going through all that, and are trying to get a purge-able directory of resources, would you find it easier to declare the /etc/yum.repos.d directory with purge = true, and then declare your