Search Postgresql Archives

Postgres Kickstart/Anaconda auto-install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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"

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux