Hi

> yumrepo { "pic":
>                 baseurl      => 
> "http://server/mrepo/local-PIC-noarch/RPMS.pic/";,
>                 descr        => "pic",
>                 name         => "pic",
>                 enabled      => absent,
>         }
> 
> *i also tried with "absent" and ' absent' .

I think it is ensure => absent

enable is to disable the repo, but to keep the information on disk.
However the type seems to assume enable => true for every option
different than false or 0.

> so, default option in site.pp is mandataory for the type?

I don't think so. However if you look at the yum-module I wrote
(http://git.puppet.immerda.ch/?p=module-yum.git) I manage the whole
directory of yum.repos.d to get rid off unmanaged repos.

cheers pete.

--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to