Postgres Kickstart/Anaconda auto-install - Mailing list pgsql-general

From Alan McKay
Subject Postgres Kickstart/Anaconda auto-install
Date
Msg-id 844129e80908271328r6a41e998p5d2717908ed3e46b@mail.gmail.com
Whole thread Raw
Responses Re: Postgres Kickstart/Anaconda auto-install  (Alan McKay <alan.mckay@gmail.com>)
Re: Postgres Kickstart/Anaconda auto-install  (Devrim GÜNDÜZ <devrim@gunduz.org>)
List pgsql-general
Hey folks,

I realise this is probably more a matter for a kickstart list, but
then again, I have to think that someone else on this list has done
this and can help.  So I'll ask here and there.

I'm dragging our company kicking and screaming into the realm of
Kickstart/Anaconda, and trying to get PG automatically installed via a
kickstart file.

I'm using CentOS 5.3 and have mirrored their repository on my subnet,
and all that part works great.

I've also taken a copy of
http://yum.pgsqlrpms.org/8.4/redhat/rhel-5-i386/ (and the 64 bit one)
and want to install the RPMs from there.  Automatically via Kickstart.

I have this line in my kickstart file :

repo --name=Postgres --baseurl=http://192.168.0.22/ks/postgres/8.4/rhel-5-i386/

and then this :
@examplePG

And within the directory for that repo, I've created a comps.xml file
based on some googling.  Here is my file - it only lists those RPMs
from the repo, that I want

<comps>
<!--  <meta> -->
<!-- Meta information will go here eventually -->
<!--  </meta> -->
  <group>
    <id>ExamplePG</id>
    <name>ExamplePG</name>
    <default>true</default>
    <description>Example's Own PostgreSQL Repository</description>
    <uservisible>true</uservisible>
    <packagelist>
      <packagereq
type="default">postgresql-server-8.4.0-1PGDG.rhel5.i386.rpm</packagereq>
      <packagereq
type="default">postgresql-libs-8.4.0-1PGDG.rhel5.i386.rpm</packagereq>
      <packagereq
type="default">postgresql-plperl-8.4.0-1PGDG.rhel5.i386.rpm</packagereq>
      <packagereq
type="default">postgresql-debuginfo-8.4.0-1PGDG.rhel5.i386.rpm</packagereq>
      <packagereq
type="default">postgresql-devel-8.4.0-1PGDG.rhel5.i386.rpm</packagereq>
      <packagereq
type="default">postgresql-plpython-8.4.0-1PGDG.rhel5.i386.rpm</packagereq>
      <packagereq
type="default">postgresql-8.4.0-1PGDG.rhel5.i386.rpm</packagereq>
      <packagereq
type="default">postgresql-docs-8.4.0-1PGDG.rhel5.i386.rpm</packagereq>
      <packagereq
type="default">postgresql-test-8.4.0-1PGDG.rhel5.i386.rpm</packagereq>
      <packagereq
type="default">postgresql-contrib-8.4.0-1PGDG.rhel5.i386.rpm</packagereq>
      <packagereq
type="default">postgresql-pltcl-8.4.0-1PGDG.rhel5.i386.rpm</packagereq>
    </packagelist>
  </group>
</comps>

My installation does not complain about the @ExamplePG line, but it
does not install any of these RPMs.  The only PG rpm I get is a
version 8.1 libs RPM from the CentOS install.

As a test I then inserted this into my kickstart file :

@foobar

And sure enough, the install process complains about it and asks if I
want to continue or abort.

Any ideas out there?

thanks,
-Alan

--
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of "In Defense of Food"

pgsql-general by date:

Previous
From: Sergey Samokhin
Date:
Subject: Re: It looks like transaction, but it isn't transaction
Next
From: Rob Sargent
Date:
Subject: Re: [SQL] Data audit trail techniques in postgresql