On Aug 13, 2009, at 4:06 PM, Douglas Garstang wrote:

>
> Larry,
>
> if you mean that puppet can't find the 'base' repo, it should be there
> and accessible. That's why I posted the contents of the repo file, and
> the output of 'yum repolist'. It also sounded like you were saying
> that the Yumrepo type wasn't found, which I don't understand, since
> it's a standard type.
>
> Actually, the docs at
> http://reductivelabs.com/trac/puppet/wiki/TypeReference#package say
> that the repo's that Yumrepo can see are determined by reposdir in
> /etc/yum.conf. Since our production environment doesn't have reposdir
> defined, but everything still works fine, I'm wondering if the docs
> are out of date. How does yumrepo determine if a repo is available or
> not?
>

The code in your puppet, not what's on the box.  Puppet code tells  
your server how it should be setup, not the other way around.

Yumrepo[base] means you should have Puppet code that looks like:

yumrepo {'base':
...
}

Regards...

-L

--
Larry Ludwig
Reductive Labs


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to