Hi all, I would like to remove a repository, but removing it from my module is not enough. I''ve been reading yumrepo type reference and I''m did not find any option for that... Do I have to create a file type poitning to that repo and then set it to absent? Cheers, Arnau --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Arnau Bria wrote:> Hi all, > > I would like to remove a repository, but removing it from my module is > not enough. > > I''ve been reading yumrepo type reference and I''m did not find any > option for that... > > Do I have to create a file type poitning to that repo and then set it > to absent?Set the enabled attribute to absent. enabled => absent It''s in the Type Reference. Regards James Turnbull - -- Author of: * Pro Linux Systems Administration (http://www.amazon.com/gp/product/1430219122/) * Pulling Strings with Puppet (http://www.amazon.com/gp/product/1590599780/) * Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) * Hardening Linux (http://www.amazon.com/gp/product/1590594444/) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFKAtjT9hTGvAxC30ARAhLWAJwLP5Pg9Y8A+2LWAOf3p1++uWI//QCgm6nl W03KSJzRSHtKfMu5ZRozj70=20kJ -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Thu, 07 May 2009 22:49:24 +1000 James Turnbull wrote: [...]> Set the enabled attribute to absent. > > enabled => absent > > It''s in the Type Reference.enabled Whether this repository is enabled or disabled. Possible values are ''0'', and ''1''. Set this to ''absent'' to remove it from the file completely Valid values are absent. Values can also match /(0|1)/. I rad until 0 and 1... sorry> Regards > > James TurnbullThanks, Arnau --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---