Postgres Kickstart/Anaconda auto-install

Поиск
Список
Период
Сортировка
От Alan McKay
Тема Postgres Kickstart/Anaconda auto-install
Дата
Msg-id 844129e80908271328r6a41e998p5d2717908ed3e46b@mail.gmail.com
обсуждение исходный текст
Ответы Re: Postgres Kickstart/Anaconda auto-install
Re: Postgres Kickstart/Anaconda auto-install
Список 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 по дате отправления:

Предыдущее
От: Sergey Samokhin
Дата:
Сообщение: Re: It looks like transaction, but it isn't transaction
Следующее
От: Rob Sargent
Дата:
Сообщение: Re: [SQL] Data audit trail techniques in postgresql