I forgot to say that I was tested my parsing script from "method", but file /var/cfengine/state/allclasses the same for parent cfengine script(which run only "method") and his "method",right?
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexander Shkurko/Шкурко Александр Sent: Saturday, March 01, 2008 11:45 PM To: [email protected] Subject: Problem with size of strings I try use /var/cfengine/state/allclasses. It was successful to run my simple parsing script from: 1)"classes" section (ReturnsZeroShell) 2)"control" section (ExecShellResult) But it was failed from "shellcommands" section! Reason: my manually defined class(cfagent -D myclass) disappeared from file /var/cfengine/state/allclasses. Is it normal? Note,that my own class - variable,and i can not use "AddInstallable". -----Original Message----- From: Mark Burgess [mailto:[EMAIL PROTECTED] Sent: Saturday, March 01, 2008 3:07 PM To: Alexander Shkurko/Шкурко Александр; bug-cfengine Subject: Re: Problem with size of strings This is not a bug. It is described in the manual. It is what the /var/cfengine/state/allclasses file is for. M Alexander Shkurko/Шкурко Александр wrote: > I use in the scripts a variable ${CFALLCLASSES}. But on one of servers > one the scripts has failed. > > The reason: > > This server has much (> 30) virtual network interfaces. Therefore a > variable ${CFALLCLASSES} very long - ~1350 (from debug log, i think > this is truncated value...) symbols. I use this variable at > “ExecShellResult” and the command line occupies 1436 symbols. But > cfengine truncate the length of command line till 1350 symbols so > “ExecShellResult” execute wrong command line. > > > ------------------------------------------------------------------------ > > _______________________________________________ > Bug-cfengine mailing list > [email protected] > https://cfengine.org/mailman/listinfo/bug-cfengine -- Mark Burgess Web: http://www.iu.hio.no/~mark Tlf: +47 22453272 _______________________________________________ Bug-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/bug-cfengine _______________________________________________ Bug-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/bug-cfengine
