[wpkg-users] Java7 for all but one host
Jáder Marasca
dv.linuxfacil at gmail.com
Mon Nov 4 15:18:38 CET 2013
Stefan
Thanks by your answer.
I speak portuguese, not english... so sometimes it´s more difficult to
understand small details. Sorry about that.
I have a Java.xml package (for Java6) and now I created a new Java7.xml
package.
So I replace the word "Java" with "Java7" in the default/common profile ,
hoping WPG would remove Java (java6) from all computers and install Java7
on them.
Results: I have some computer with both of them and failed to exclude
PC-MICHELE :(
For now, I think best way woud be exclude Java7 from host PC-MICHELE. All
other things are working for now.
I´m still not sure about how to exclude a package from a host or how to
exclude a host from a profile. :o :$
Sorry.
Any help would be great.
Thanks
Jáder
2013/11/1 Stefan Pendl <stefan.pendl.71 at gmail.com>
> Am 01.11.2013 14:35, schrieb Jáder Marasca:
>
> Stefan
>
> Thanks by your quick ansser... but I´m not sure if I understood it.
> I have a Java7 package as from wiki page.
> I´ll update it to include the new verification.
>
> It will became something like to avoid install on hostname "PC-MICHELE":
>
>
> (...)
> name="Java Runtime Environment 7"
> revision="%version%"
> reboot="false"
> priority="100">
> * <condition>*
> * <check type="logical" condition="not">*
> * <check type="host" condition="hostname"
> value="PC-MICHELE"/>*
> * </check>*
> * </condition>*
>
>
> No, that doesn't work as you may think and it is not supported either.
>
> There are multiple ways to exclude a package.
>
> In my case I add the "Java" package to all profiles and that package will
> decide which Java version to install.
> This will reduce the need to add host checks to one spot.
>
> Since I don't know your WPKG structure it is hard to tell what would be
> the best way for you.
>
> If you have one common profile, you can exclude the host in that profile,
> so you only need the "Java7" package.
>
> If you have no common profile, you would end up with two packages, "Java"
> and "Java7", where "Java" is included in every profile and it will decide
> if "Java7" needs to be installed.
>
> Make sure to read the change log file shipping with WPKG, so you know what
> is really supported.
>
>
> --
> Stefan P.
>
> Top-posting:
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
>
> -------------------------------------------------------------------------
> Hotel discounts, best prices: http://www.booking.com/index.html?aid=366545
> -------------------------------------------------------------------------
> wpkg-users mailing list archives >>
> http://lists.wpkg.org/pipermail/wpkg-users/
> _______________________________________________
> wpkg-users mailing list
> wpkg-users at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/wpkg-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20131104/92792d2f/attachment-0003.html>
More information about the wpkg-users
mailing list