[katello-devel] Katello release RPM

Tom McKay thomasmckay at redhat.com
Wed Nov 7 13:12:33 UTC 2012



----- Original Message -----
> From: "Jeff Weiss" <jweiss at redhat.com>
> To: "Vít Ondruch" <vondruch at redhat.com>
> Cc: katello-devel at redhat.com
> Sent: Wednesday, November 7, 2012 8:06:23 AM
> Subject: Re: [katello-devel] Katello release RPM
> 
> Vít Ondruch <vondruch at redhat.com> writes:
> 
> > Dne 6.11.2012 17:07, Lukas Zapletal napsal(a):
> >> Hey,
> >>
> >> what you say on a plan to create following packages:
> >>
> >> katello-release.rpm
> >> headpin-release.rpm
> >>
> >> with the following content:
> >>
> >> /etc/katello-release
> >>
> >> and
> >>
> >> /etc/headpin-release
> >>
> >> files containing the version number.
> >>
> >> In the upgrade script, I need to know if this is headpin or
> >> katello and
> >> we do grep default katello answer file, which is kinda hacky.
> >>
> >> Opinions? Volunteers?
> >>
> >> LZ
> >>
> >
> > Since it is not configuration, it should not go into /etc.
> >
> > Vit
> >
> > _______________________________________________
> > katello-devel mailing list
> > katello-devel at redhat.com
> > https://www.redhat.com/mailman/listinfo/katello-devel
> 
> Can't you ask the rpm db?  eg, if katello-headpin is installed, it's
> headpin.
> 
> --
> Jeff Weiss
> Principal Quality Assurance Engineer
> jweiss at redhat.com
> (919)886-6533
> 
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel

I would trigger off of /etc/katello/client.conf setting of 'path'




More information about the katello-devel mailing list