You probably want to add EPEL via the repo list. That way the packages
in EPEL are available as part of the install.

If you google for "kickstart documentation" or goto redhat's site you'll
see the options.

Then you can specify puppet and use a %post script to configure it.

Cheers,
Harry

On 08/20/2012 10:41 AM, Bai Shen wrote:
> 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 <sflo...@redhat.com
> <mailto:sflo...@redhat.com>> wrote:
> 
>     Bai,
> 
>     One of the things I do is have my own custom kickstart file.  Part
>     of that kickstart is including puppet...
> 
>     https://github.com/FlossWare/cobbler/blob/development/system.ks
> 
>     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.li...@gmail.com
>         <mailto:baishen.li...@gmail.com>>
>         *To: *"cobbler mailing list" <cobbler@lists.fedorahosted.org
>         <mailto:cobbler@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@lists.fedorahosted.org
>         <mailto:cobbler@lists.fedorahosted.org>
>         https://lists.fedorahosted.org/mailman/listinfo/cobbler
> 
> 
> 
> 
>     -- 
>     Make It So Number One
> 
>     _______________________________________________
>     cobbler mailing list
>     cobbler@lists.fedorahosted.org <mailto:cobbler@lists.fedorahosted.org>
>     https://lists.fedorahosted.org/mailman/listinfo/cobbler
> 
> 
> 
> 
> _______________________________________________
> cobbler mailing list
> cobbler@lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
> 
_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler

Reply via email to