Bai,
So you can do a few things:
* Add epel as a repo and include that repo as part of a profile.
* Add a puppet repo from puppet labs and include that repo as part of a profile (look
here:
http://projects.puppetlabs.com/projects/1/wiki/downloading_puppet#RPM+Pac...)
* Or do both (which is what I do)
If you try to install puppet in your %post, you'll need to ensure either epel and/or
puppet repos are part of your cobbler install. I prefer to let puppet lay down all my
repos, so I don't include either in a cobbler install. To include all the repos from
your profile, you'd have this in your kickstart in the %post:
$yum_config_stanza
You will note, mine is commented out...
----- Original Message -----
From: "Bai Shen" <baishen.lists(a)gmail.com>
To: "cobbler mailing list" <cobbler(a)lists.fedorahosted.org>
Sent: Monday, August 20, 2012 10:41:49 AM
Subject: Re: [cobbler] Puppet configuration
Interesting. I didn't realize you could do things like that with
%post.
How do you add the epel and puppet? When I try to run puppet
manually, the command isn't found. And yum tries to connect to the
internet instead of the cobbler repo.
The sample template I'm using includes puppet snippets, but they
don't seem to do anything. Is that because I don't have the epel
added to cobbler?
Thanks.
On Mon, Aug 20, 2012 at 10:27 AM, Scot Floess < sfloess(a)redhat.com
>
wrote:
> Bai,
> One of the things I do is have my own custom kickstart file.
Part
> of
> that kickstart is including puppet...
> The aforementioned link is the kick start I use with cobbler.
All
> you
> really need to do is define ksmeta having packages=puppet and that
> will ensure puppet gets installed... Well that and you'll also need
> to include epel yum repo...
> HTH,
> Flossy
> > From: "Bai Shen" < baishen.lists(a)gmail.com
>
>
> > To: "cobbler mailing list" < cobbler(a)lists.fedorahosted.org >
>
> > Sent: Monday, August 20, 2012 10:16:48 AM
>
> > Subject: [cobbler] Puppet configuration
>
> > So I'm able to get my machine built using cobbler.
However, it
> > doesn't seem to have installed and set up puppet.
>
> > Does anyone know of any good tutorials or documentation
that I
> > can
> > look at? Most of the stuff I'm finding assumes you're just
> > installing puppet, not continuing on from a cobbler kickstart.
>
> >
Thanks.
> >
>
> > _______________________________________________
>
> > cobbler mailing list
>
> > cobbler(a)lists.fedorahosted.org
>
> >
https://lists.fedorahosted.org/mailman/listinfo/cobbler
>
> --
> Make It So Number One
> _______________________________________________
> cobbler mailing list
> cobbler(a)lists.fedorahosted.org
>
https://lists.fedorahosted.org/mailman/listinfo/cobbler
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
--
Make It So Number One