Heya Cliff,

----- Original Message -----
> From: "Cliff Perry" <cpe...@redhat.com>
> To: "spacewalk-devel" <spacewalk-devel@redhat.com>
> Sent: Wednesday, August 17, 2011 9:41:43 PM
> Subject: [Spacewalk-devel] Fwd: 658533 - remove default currency from backend 
> part of rhn.conf
> 
> 
> Tomas,
> Can you confirm that if someone manually adds these entries into
> their
> rhn.conf it will read them in and override the defaults listed in
> code?

Yes, I can - I confirm it. :-)

> 
> Is the formatting in rhn.conf been preserved? (so if I wanted to add
> to
> rhn.conf the following, it would work):

Yes.

> 
> sc.crit = 4294967296
> sc.imp  = 256
> sc.mod  = 16
> sc.low  = 4
> sc.bug  = 1
> sc.enh  = 0
> 
> (and yes, that example I just made up, to confirm it *would* work,
> should I desire)

Actually no. It won't. 4294967296 is too big (2^32).
Max int value is 2^31-1 = 2147483647.


I've removed the entries from backend rhn.conf:
 * because sc.* aren't backend configuration options
 * we would need to have some default values defined in java code anyway

So, the behavior is preserved, default values are as before and anybody can 
override the values in rhn.conf.
If you'll try it, just make sure you restart tomcat, so the new values will be 
read in and used.

> 
> Thanks,
> Cliff
> 
> <http://git.fedorahosted.org/git?p=spacewalk.git;a=commitdiff;h=c6e25a418fbf0f29f17f3db4797ab766c90cc951>
> 
> _______________________________________________
> Spacewalk-devel mailing list
> Spacewalk-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-devel
> 

Regards,
Tomas
--
Tomas Lestach
RHN Satellite Engineering, Red Hat

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to