From: Developers l. f. trouble-m. <tro...@li...> - 2010-06-06 00:06:36
|
Great news! I'm running through all of the existing selections to verify that they work on RHEL5. I'll fix any that I can if they don't work and see if I can come up with a few new ones too. Thanks Josh! Matt On Sat, Jun 5, 2010 at 4:53 PM, Developers list for trouble-maker < tro...@li...> wrote: > Sorry, some unexpected travel got in my way here. > > The new version of the engine is packaged up and available at > http://www.starmind.org/temp/trouble-maker-0.07.tgz > > You were right. I found four more instances of operator precedence > conflict. I'm going to look for others tonight as well. > > In case anyone else on this list cares, the way that phrases like this "Do > A or do B if C" got changed between perl 5.8 and 5.10. In 5.8, it would do > A and then, if C were defined, it would do B. In 5.10, it will only do A is > C is defined, which is why certain things were only working if debug was > on. Most aggravating. > > The fix is for me to change the logic to read: > > Try A, store value in A1. > If A1 is not happy, and C is defined, do B. > > It's a bit more logically clear, if a consisting of a bit less perl magic. > > -Josh > > > > On Sat, Jun 5, 2010 at 12:27 AM, Developers list for trouble-maker < > tro...@li...> wrote: > >> Any thoughts on this issue? >> >> I have signed up to host a CampGround session on Wednesday afternoon (June >> 23rd) of the Red Hat Summit to show off what we have working. >> >> >> On Sun, May 23, 2010 at 10:45 AM, Matt Millard <mil...@gm...>wrote: >> >>> I've been testing the beta on RHEL5 and when I run it with the following >>> options the engine doesn't backup any files or copy the script to the rescue >>> directory. It does make the changes to the system though. >>> >>> /usr/local/trouble-maker/bin/trouble-maker.pl --version=RHEL_5 >>> --selection=apache-hostname_collision >>> >>> However if I modify the trouble-maker.pl script and turn on all of the >>> debugging everything works just fine. It backs up all the /etc/hosts and >>> /etc/sysconfig/network files and copies the script to the >>> "/tmp/trouble-script/rescue/TROUBLE-SCRIPT". I would guess that we've got >>> another bug in there somewhere that DEBUG routes around. >>> >>> I haven't tested with other trouble-scripts, but thought I'd get this bug >>> report out there over the weekend. >>> >>> Matt >>> >>> -- >>> Matt Millard >>> >>> http://flavors.me/mattmillard >>> >> >> >> >> -- >> Matt Millard >> >> http://flavors.me/mattmillard >> >> >> ------------------------------------------------------------------------------ >> ThinkGeek and WIRED's GeekDad team up for the Ultimate >> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the >> lucky parental unit. See the prize list and enter to win: >> http://p.sf.net/sfu/thinkgeek-promo >> _______________________________________________ >> Trouble-maker-developers mailing list >> Tro...@li... >> https://lists.sourceforge.net/lists/listinfo/trouble-maker-developers >> >> > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Trouble-maker-developers mailing list > Tro...@li... > https://lists.sourceforge.net/lists/listinfo/trouble-maker-developers > > -- Matt Millard http://flavors.me/mattmillard |