Project

General

Profile

Bug #5283

Updated by François ARMAND over 7 years ago

Hi, 

 I've tried to use the following promise: 
 <pre> 
   vars: 
     "foo[BAR]" string => "$(const.dollar)([ -f /baz ] && /bin/xargs -a /baz || :)"; 
   files: 
     "/Kegeruneku" 
       edit_line => set_quoted_values("pony.foo"); 
 </pre> 
 to insert "$([ -f /baz ] && /bin/xargs -a /baz || :)" in a file. 

 The policy regeneration failed with a useless error message in the web ui, showing basically an invalid syntax message for all characters in the technique. 

 Now I know that "&" must be escaped to "\&", but rudder didn't help me. :P 
 Thanks. 

 The java exception in the webapp log is huge: 
 <pre> 
 problem parsing template 'anonymous' 
 line 45:18: expecting '<', found 'F' 
	 at com.normation.stringtemplate.language.NormationAmpersandTemplateLexer.nextToken(NormationAmpersandTemplateLexer.java:144) 
	 at antlr.TokenBuffer.fill(TokenBuffer.java:69) 
	 at antlr.TokenBuffer.LA(TokenBuffer.java:80) 
	 at antlr.LLkParser.LA(LLkParser.java:52) 
	 at org.antlr.stringtemplate.language.TemplateParser.template(TemplateParser.java:103) 
	 at org.antlr.stringtemplate.StringTemplate.breakTemplateIntoChunks(StringTemplate.java:850) 
	 at org.antlr.stringtemplate.StringTemplate.setTemplate(StringTemplate.java:441) 
	 at org.antlr.stringtemplate.StringTemplate.<init>(StringTemplate.java:299) 
	 at com.normation.cfclerk.services.impl.Cf3PromisesFileWriterServiceImpl$$anonfun$writePromisesFiles$1.apply(Cf3PromisesFileWriterServiceImpl.scala:199) 
	 at com.normation.cfclerk.services.impl.Cf3PromisesFileWriterServiceImpl$$anonfun$writePromisesFiles$1.apply(Cf3PromisesFileWriterServiceImpl.scala:196) 
	 at scala.collection.immutable.HashSet$HashSet1.foreach(HashSet.scala:153) 
	 at scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:306) 
	 at com.normation.cfclerk.services.impl.Cf3PromisesFileWriterServiceImpl.writePromisesFiles(Cf3PromisesFileWriterServiceImpl.scala:196) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$com$normation$rudder$services$policies$RudderCf3PromisesFileWriterServiceImpl$$prepareRulesForAgents$2$$anonfun$apply$12.apply(RudderPromiseWriterServiceImpl.scala:198) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$com$normation$rudder$services$policies$RudderCf3PromisesFileWriterServiceImpl$$prepareRulesForAgents$2$$anonfun$apply$12.apply(RudderPromiseWriterServiceImpl.scala:197) 
	 at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:772) 
	 at scala.collection.immutable.Map$Map4.foreach(Map.scala:181) 
	 at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:771) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$com$normation$rudder$services$policies$RudderCf3PromisesFileWriterServiceImpl$$prepareRulesForAgents$2.apply(RudderPromiseWriterServiceImpl.scala:197) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$com$normation$rudder$services$policies$RudderCf3PromisesFileWriterServiceImpl$$prepareRulesForAgents$2.apply(RudderPromiseWriterServiceImpl.scala:175) 
	 at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59) 
	 at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl.com$normation$rudder$services$policies$RudderCf3PromisesFileWriterServiceImpl$$prepareRulesForAgents(RudderPromiseWriterServiceImpl.scala:175) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$writePromisesForMachines$1$$anonfun$apply$2.apply(RudderPromiseWriterServiceImpl.scala:140) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$writePromisesForMachines$1$$anonfun$apply$2.apply(RudderPromiseWriterServiceImpl.scala:124) 
	 at scala.collection.immutable.Stream.foreach(Stream.scala:547) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$writePromisesForMachines$1.apply(RudderPromiseWriterServiceImpl.scala:124) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$writePromisesForMachines$1.apply(RudderPromiseWriterServiceImpl.scala:119) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl.writePromisesForMachines(RudderPromiseWriterServiceImpl.scala:119) 
	 at com.normation.rudder.services.policies.nodeconfig.NodeConfigurationServiceImpl.writeTemplate(NodeConfigurationServiceImpl.scala:320) 
	 at com.normation.rudder.services.policies.DeploymentService_updateAndWriteRule$class.writeNodeConfigurations(DeploymentService.scala:683) 
	 at com.normation.rudder.services.policies.DeploymentServiceImpl.writeNodeConfigurations(DeploymentService.scala:276) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23$$anonfun$apply$26$$anonfun$apply$28$$anonfun$apply$33.apply(DeploymentService.scala:135) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23$$anonfun$apply$26$$anonfun$apply$28$$anonfun$apply$33.apply(DeploymentService.scala:126) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23$$anonfun$apply$26$$anonfun$apply$28.apply(DeploymentService.scala:126) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23$$anonfun$apply$26$$anonfun$apply$28.apply(DeploymentService.scala:125) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23$$anonfun$apply$26.apply(DeploymentService.scala:125) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23$$anonfun$apply$26.apply(DeploymentService.scala:119) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23.apply(DeploymentService.scala:119) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23.apply(DeploymentService.scala:118) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20.apply(DeploymentService.scala:118) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20.apply(DeploymentService.scala:113) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17.apply(DeploymentService.scala:113) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17.apply(DeploymentService.scala:108) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14.apply(DeploymentService.scala:108) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14.apply(DeploymentService.scala:103) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11.apply(DeploymentService.scala:103) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11.apply(DeploymentService.scala:98) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9.apply(DeploymentService.scala:98) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9.apply(DeploymentService.scala:93) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6.apply(DeploymentService.scala:93) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6.apply(DeploymentService.scala:92) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4.apply(DeploymentService.scala:92) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4.apply(DeploymentService.scala:91) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2.apply(DeploymentService.scala:91) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2.apply(DeploymentService.scala:90) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2.apply(DeploymentService.scala:90) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2.apply(DeploymentService.scala:89) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$class.deploy(DeploymentService.scala:89) 
	 at com.normation.rudder.services.policies.DeploymentServiceImpl.deploy(DeploymentService.scala:276) 
	 at com.normation.rudder.batch.AsyncDeploymentAgent$DeployerAgent$$anonfun$messageHandler$1.applyOrElse(AsyncDeploymentAgent.scala:317) 
	 at scala.runtime.AbstractPartialFunction$mcVL$sp.apply$mcVL$sp(AbstractPartialFunction.scala:33) 
	 at scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:33) 
	 at scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:25) 
	 at net.liftweb.actor.LiftActor$class.execTranslate(LiftActor.scala:440) 
	 at com.normation.rudder.batch.AsyncDeploymentAgent$DeployerAgent$.execTranslate(AsyncDeploymentAgent.scala:309) 
	 at net.liftweb.actor.SpecializedLiftActor$class.liftedTree2$1(LiftActor.scala:288) 
	 at net.liftweb.actor.SpecializedLiftActor$class.net$liftweb$actor$SpecializedLiftActor$$proc2(LiftActor.scala:287) 
	 at net.liftweb.actor.SpecializedLiftActor$$anonfun$net$liftweb$actor$SpecializedLiftActor$$processMailbox$1.apply$mcV$sp(LiftActor.scala:210) 
	 at net.liftweb.actor.SpecializedLiftActor$$anonfun$net$liftweb$actor$SpecializedLiftActor$$processMailbox$1.apply(LiftActor.scala:210) 
	 at net.liftweb.actor.SpecializedLiftActor$$anonfun$net$liftweb$actor$SpecializedLiftActor$$processMailbox$1.apply(LiftActor.scala:210) 
	 at net.liftweb.actor.SpecializedLiftActor$class.around(LiftActor.scala:224) 
	 at com.normation.rudder.batch.AsyncDeploymentAgent$DeployerAgent$.around(AsyncDeploymentAgent.scala:309) 
	 at net.liftweb.actor.SpecializedLiftActor$class.net$liftweb$actor$SpecializedLiftActor$$processMailbox(LiftActor.scala:209) 
	 at net.liftweb.actor.SpecializedLiftActor$$anonfun$2$$anonfun$apply$mcV$sp$1.apply$mcV$sp(LiftActor.scala:173) 
	 at net.liftweb.actor.LAScheduler$$anonfun$9$$anon$2$$anon$3.run(LiftActor.scala:64) 
	 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
	 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
	 at java.lang.Thread.run(Thread.java:744) 
 [...] 
 problem parsing template 'anonymous' 
 line 45:18: expecting '<', found 'F' 
	 at com.normation.stringtemplate.language.NormationAmpersandTemplateLexer.nextToken(NormationAmpersandTemplateLexer.java:144) 
	 at antlr.TokenBuffer.fill(TokenBuffer.java:69) 
	 at antlr.TokenBuffer.LA(TokenBuffer.java:80) 
	 at antlr.LLkParser.LA(LLkParser.java:52) 
	 at org.antlr.stringtemplate.language.TemplateParser.template(TemplateParser.java:103) 
	 at org.antlr.stringtemplate.StringTemplate.breakTemplateIntoChunks(StringTemplate.java:850) 
	 at org.antlr.stringtemplate.StringTemplate.setTemplate(StringTemplate.java:441) 
	 at org.antlr.stringtemplate.StringTemplate.<init>(StringTemplate.java:299) 
	 at com.normation.cfclerk.services.impl.Cf3PromisesFileWriterServiceImpl$$anonfun$writePromisesFiles$1.apply(Cf3PromisesFileWriterServiceImpl.scala:199) 
	 at com.normation.cfclerk.services.impl.Cf3PromisesFileWriterServiceImpl$$anonfun$writePromisesFiles$1.apply(Cf3PromisesFileWriterServiceImpl.scala:196) 
	 at scala.collection.immutable.HashSet$HashSet1.foreach(HashSet.scala:153) 
	 at scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:306) 
	 at com.normation.cfclerk.services.impl.Cf3PromisesFileWriterServiceImpl.writePromisesFiles(Cf3PromisesFileWriterServiceImpl.scala:196) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$com$normation$rudder$services$policies$RudderCf3PromisesFileWriterServiceImpl$$prepareRulesForAgents$2$$anonfun$apply$12.apply(RudderPromiseWriterServiceImpl.scala:198) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$com$normation$rudder$services$policies$RudderCf3PromisesFileWriterServiceImpl$$prepareRulesForAgents$2$$anonfun$apply$12.apply(RudderPromiseWriterServiceImpl.scala:197) 
	 at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:772) 
	 at scala.collection.immutable.Map$Map4.foreach(Map.scala:181) 
	 at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:771) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$com$normation$rudder$services$policies$RudderCf3PromisesFileWriterServiceImpl$$prepareRulesForAgents$2.apply(RudderPromiseWriterServiceImpl.scala:197) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$com$normation$rudder$services$policies$RudderCf3PromisesFileWriterServiceImpl$$prepareRulesForAgents$2.apply(RudderPromiseWriterServiceImpl.scala:175) 
	 at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59) 
	 at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl.com$normation$rudder$services$policies$RudderCf3PromisesFileWriterServiceImpl$$prepareRulesForAgents(RudderPromiseWriterServiceImpl.scala:175) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$writePromisesForMachines$1$$anonfun$apply$2.apply(RudderPromiseWriterServiceImpl.scala:140) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$writePromisesForMachines$1$$anonfun$apply$2.apply(RudderPromiseWriterServiceImpl.scala:124) 
	 at scala.collection.immutable.Stream.foreach(Stream.scala:547) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$writePromisesForMachines$1.apply(RudderPromiseWriterServiceImpl.scala:124) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$writePromisesForMachines$1.apply(RudderPromiseWriterServiceImpl.scala:119) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl.writePromisesForMachines(RudderPromiseWriterServiceImpl.scala:119) 
	 at com.normation.rudder.services.policies.nodeconfig.NodeConfigurationServiceImpl.writeTemplate(NodeConfigurationServiceImpl.scala:320) 
	 at com.normation.rudder.services.policies.DeploymentService_updateAndWriteRule$class.writeNodeConfigurations(DeploymentService.scala:683) 
	 at com.normation.rudder.services.policies.DeploymentServiceImpl.writeNodeConfigurations(DeploymentService.scala:276) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23$$anonfun$apply$26$$anonfun$apply$28$$anonfun$apply$33.apply(DeploymentService.scala:135) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23$$anonfun$apply$26$$anonfun$apply$28$$anonfun$apply$33.apply(DeploymentService.scala:126) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23$$anonfun$apply$26$$anonfun$apply$28.apply(DeploymentService.scala:126) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23$$anonfun$apply$26$$anonfun$apply$28.apply(DeploymentService.scala:125) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23$$anonfun$apply$26.apply(DeploymentService.scala:125) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23$$anonfun$apply$26.apply(DeploymentService.scala:119) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23.apply(DeploymentService.scala:119) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23.apply(DeploymentService.scala:118) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20.apply(DeploymentService.scala:118) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20.apply(DeploymentService.scala:113) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17.apply(DeploymentService.scala:113) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17.apply(DeploymentService.scala:108) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14.apply(DeploymentService.scala:108) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14.apply(DeploymentService.scala:103) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11.apply(DeploymentService.scala:103) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11.apply(DeploymentService.scala:98) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9.apply(DeploymentService.scala:98) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9.apply(DeploymentService.scala:93) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6.apply(DeploymentService.scala:93) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6.apply(DeploymentService.scala:92) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4.apply(DeploymentService.scala:92) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4.apply(DeploymentService.scala:91) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2.apply(DeploymentService.scala:91) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2.apply(DeploymentService.scala:90) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2.apply(DeploymentService.scala:90) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2.apply(DeploymentService.scala:89) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$class.deploy(DeploymentService.scala:89) 
	 at com.normation.rudder.services.policies.DeploymentServiceImpl.deploy(DeploymentService.scala:276) 
	 at com.normation.rudder.batch.AsyncDeploymentAgent$DeployerAgent$$anonfun$messageHandler$1.applyOrElse(AsyncDeploymentAgent.scala:317) 
	 at scala.runtime.AbstractPartialFunction$mcVL$sp.apply$mcVL$sp(AbstractPartialFunction.scala:33) 
	 at scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:33) 
	 at scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:25) 
	 at net.liftweb.actor.LiftActor$class.execTranslate(LiftActor.scala:440) 
	 at com.normation.rudder.batch.AsyncDeploymentAgent$DeployerAgent$.execTranslate(AsyncDeploymentAgent.scala:309) 
	 at net.liftweb.actor.SpecializedLiftActor$class.liftedTree2$1(LiftActor.scala:288) 
	 at net.liftweb.actor.SpecializedLiftActor$class.net$liftweb$actor$SpecializedLiftActor$$proc2(LiftActor.scala:287) 
	 at net.liftweb.actor.SpecializedLiftActor$$anonfun$net$liftweb$actor$SpecializedLiftActor$$processMailbox$1.apply$mcV$sp(LiftActor.scala:210) 
	 at net.liftweb.actor.SpecializedLiftActor$$anonfun$net$liftweb$actor$SpecializedLiftActor$$processMailbox$1.apply(LiftActor.scala:210) 
	 at net.liftweb.actor.SpecializedLiftActor$$anonfun$net$liftweb$actor$SpecializedLiftActor$$processMailbox$1.apply(LiftActor.scala:210) 
	 at net.liftweb.actor.SpecializedLiftActor$class.around(LiftActor.scala:224) 
	 at com.normation.rudder.batch.AsyncDeploymentAgent$DeployerAgent$.around(AsyncDeploymentAgent.scala:309) 
	 at net.liftweb.actor.SpecializedLiftActor$class.net$liftweb$actor$SpecializedLiftActor$$processMailbox(LiftActor.scala:209) 
	 at net.liftweb.actor.SpecializedLiftActor$$anonfun$2$$anonfun$apply$mcV$sp$1.apply$mcV$sp(LiftActor.scala:173) 
	 at net.liftweb.actor.LAScheduler$$anonfun$9$$anon$2$$anon$3.run(LiftActor.scala:64) 
	 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
	 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
	 at java.lang.Thread.run(Thread.java:744) 
 [...] 
 problem parsing template 'anonymous' 
 line 45:18: expecting '<', found 'F' 
	 at com.normation.stringtemplate.language.NormationAmpersandTemplateLexer.nextToken(NormationAmpersandTemplateLexer.java:144) 
	 at antlr.TokenBuffer.fill(TokenBuffer.java:69) 
	 at antlr.TokenBuffer.LA(TokenBuffer.java:80) 
	 at antlr.LLkParser.LA(LLkParser.java:52) 
	 at org.antlr.stringtemplate.language.TemplateParser.template(TemplateParser.java:103) 
	 at org.antlr.stringtemplate.StringTemplate.breakTemplateIntoChunks(StringTemplate.java:850) 
	 at org.antlr.stringtemplate.StringTemplate.setTemplate(StringTemplate.java:441) 
	 at org.antlr.stringtemplate.StringTemplate.<init>(StringTemplate.java:299) 
	 at com.normation.cfclerk.services.impl.Cf3PromisesFileWriterServiceImpl$$anonfun$writePromisesFiles$1.apply(Cf3PromisesFileWriterServiceImpl.scala:199) 
	 at com.normation.cfclerk.services.impl.Cf3PromisesFileWriterServiceImpl$$anonfun$writePromisesFiles$1.apply(Cf3PromisesFileWriterServiceImpl.scala:196) 
	 at scala.collection.immutable.HashSet$HashSet1.foreach(HashSet.scala:153) 
	 at scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:306) 
	 at com.normation.cfclerk.services.impl.Cf3PromisesFileWriterServiceImpl.writePromisesFiles(Cf3PromisesFileWriterServiceImpl.scala:196) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$com$normation$rudder$services$policies$RudderCf3PromisesFileWriterServiceImpl$$prepareRulesForAgents$2$$anonfun$apply$12.apply(RudderPromiseWriterServiceImpl.scala:198) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$com$normation$rudder$services$policies$RudderCf3PromisesFileWriterServiceImpl$$prepareRulesForAgents$2$$anonfun$apply$12.apply(RudderPromiseWriterServiceImpl.scala:197) 
	 at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:772) 
	 at scala.collection.immutable.Map$Map4.foreach(Map.scala:181) 
	 at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:771) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$com$normation$rudder$services$policies$RudderCf3PromisesFileWriterServiceImpl$$prepareRulesForAgents$2.apply(RudderPromiseWriterServiceImpl.scala:197) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$com$normation$rudder$services$policies$RudderCf3PromisesFileWriterServiceImpl$$prepareRulesForAgents$2.apply(RudderPromiseWriterServiceImpl.scala:175) 
	 at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59) 
	 at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl.com$normation$rudder$services$policies$RudderCf3PromisesFileWriterServiceImpl$$prepareRulesForAgents(RudderPromiseWriterServiceImpl.scala:175) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$writePromisesForMachines$1$$anonfun$apply$2.apply(RudderPromiseWriterServiceImpl.scala:140) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$writePromisesForMachines$1$$anonfun$apply$2.apply(RudderPromiseWriterServiceImpl.scala:124) 
	 at scala.collection.immutable.Stream.foreach(Stream.scala:547) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$writePromisesForMachines$1.apply(RudderPromiseWriterServiceImpl.scala:124) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$writePromisesForMachines$1.apply(RudderPromiseWriterServiceImpl.scala:119) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl.writePromisesForMachines(RudderPromiseWriterServiceImpl.scala:119) 
	 at com.normation.rudder.services.policies.nodeconfig.NodeConfigurationServiceImpl.writeTemplate(NodeConfigurationServiceImpl.scala:320) 
	 at com.normation.rudder.services.policies.DeploymentService_updateAndWriteRule$class.writeNodeConfigurations(DeploymentService.scala:683) 
	 at com.normation.rudder.services.policies.DeploymentServiceImpl.writeNodeConfigurations(DeploymentService.scala:276) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23$$anonfun$apply$26$$anonfun$apply$28$$anonfun$apply$33.apply(DeploymentService.scala:135) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23$$anonfun$apply$26$$anonfun$apply$28$$anonfun$apply$33.apply(DeploymentService.scala:126) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23$$anonfun$apply$26$$anonfun$apply$28.apply(DeploymentService.scala:126) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23$$anonfun$apply$26$$anonfun$apply$28.apply(DeploymentService.scala:125) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23$$anonfun$apply$26.apply(DeploymentService.scala:125) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23$$anonfun$apply$26.apply(DeploymentService.scala:119) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23.apply(DeploymentService.scala:119) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23.apply(DeploymentService.scala:118) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20.apply(DeploymentService.scala:118) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20.apply(DeploymentService.scala:113) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17.apply(DeploymentService.scala:113) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17.apply(DeploymentService.scala:108) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14.apply(DeploymentService.scala:108) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14.apply(DeploymentService.scala:103) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11.apply(DeploymentService.scala:103) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11.apply(DeploymentService.scala:98) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9.apply(DeploymentService.scala:98) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9.apply(DeploymentService.scala:93) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6.apply(DeploymentService.scala:93) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6.apply(DeploymentService.scala:92) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4.apply(DeploymentService.scala:92) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4.apply(DeploymentService.scala:91) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2.apply(DeploymentService.scala:91) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2.apply(DeploymentService.scala:90) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2.apply(DeploymentService.scala:90) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2.apply(DeploymentService.scala:89) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$class.deploy(DeploymentService.scala:89) 
	 at com.normation.rudder.services.policies.DeploymentServiceImpl.deploy(DeploymentService.scala:276) 
	 at com.normation.rudder.batch.AsyncDeploymentAgent$DeployerAgent$$anonfun$messageHandler$1.applyOrElse(AsyncDeploymentAgent.scala:317) 
	 at scala.runtime.AbstractPartialFunction$mcVL$sp.apply$mcVL$sp(AbstractPartialFunction.scala:33) 
	 at scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:33) 
	 at scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:25) 
	 at net.liftweb.actor.LiftActor$class.execTranslate(LiftActor.scala:440) 
	 at com.normation.rudder.batch.AsyncDeploymentAgent$DeployerAgent$.execTranslate(AsyncDeploymentAgent.scala:309) 
	 at net.liftweb.actor.SpecializedLiftActor$class.liftedTree2$1(LiftActor.scala:288) 
	 at net.liftweb.actor.SpecializedLiftActor$class.net$liftweb$actor$SpecializedLiftActor$$proc2(LiftActor.scala:287) 
	 at net.liftweb.actor.SpecializedLiftActor$$anonfun$net$liftweb$actor$SpecializedLiftActor$$processMailbox$1.apply$mcV$sp(LiftActor.scala:210) 
	 at net.liftweb.actor.SpecializedLiftActor$$anonfun$net$liftweb$actor$SpecializedLiftActor$$processMailbox$1.apply(LiftActor.scala:210) 
	 at net.liftweb.actor.SpecializedLiftActor$$anonfun$net$liftweb$actor$SpecializedLiftActor$$processMailbox$1.apply(LiftActor.scala:210) 
	 at net.liftweb.actor.SpecializedLiftActor$class.around(LiftActor.scala:224) 
	 at com.normation.rudder.batch.AsyncDeploymentAgent$DeployerAgent$.around(AsyncDeploymentAgent.scala:309) 
	 at net.liftweb.actor.SpecializedLiftActor$class.net$liftweb$actor$SpecializedLiftActor$$processMailbox(LiftActor.scala:209) 
	 at net.liftweb.actor.SpecializedLiftActor$$anonfun$2$$anonfun$apply$mcV$sp$1.apply$mcV$sp(LiftActor.scala:173) 
	 at net.liftweb.actor.LAScheduler$$anonfun$9$$anon$2$$anon$3.run(LiftActor.scala:64) 
	 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
	 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
	 at java.lang.Thread.run(Thread.java:744) 
 [...] 
 problem parsing template 'anonymous' 
 line 45:18: expecting '<', found 'F' 
	 at com.normation.stringtemplate.language.NormationAmpersandTemplateLexer.nextToken(NormationAmpersandTemplateLexer.java:144) 
	 at antlr.TokenBuffer.fill(TokenBuffer.java:69) 
	 at antlr.TokenBuffer.LA(TokenBuffer.java:80) 
	 at antlr.LLkParser.LA(LLkParser.java:52) 
	 at org.antlr.stringtemplate.language.TemplateParser.template(TemplateParser.java:103) 
	 at org.antlr.stringtemplate.StringTemplate.breakTemplateIntoChunks(StringTemplate.java:850) 
	 at org.antlr.stringtemplate.StringTemplate.setTemplate(StringTemplate.java:441) 
	 at org.antlr.stringtemplate.StringTemplate.<init>(StringTemplate.java:299) 
	 at com.normation.cfclerk.services.impl.Cf3PromisesFileWriterServiceImpl$$anonfun$writePromisesFiles$1.apply(Cf3PromisesFileWriterServiceImpl.scala:199) 
	 at com.normation.cfclerk.services.impl.Cf3PromisesFileWriterServiceImpl$$anonfun$writePromisesFiles$1.apply(Cf3PromisesFileWriterServiceImpl.scala:196) 
	 at scala.collection.immutable.HashSet$HashSet1.foreach(HashSet.scala:153) 
	 at scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:306) 
	 at com.normation.cfclerk.services.impl.Cf3PromisesFileWriterServiceImpl.writePromisesFiles(Cf3PromisesFileWriterServiceImpl.scala:196) 
 [...] 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$com$normation$rudder$services$policies$RudderCf3PromisesFileWriterServiceImpl$$prepareRulesForAgents$2$$anonfun$apply$12.apply(RudderPromiseWriterServiceImpl.scala:198) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$com$normation$rudder$services$policies$RudderCf3PromisesFileWriterServiceImpl$$prepareRulesForAgents$2$$anonfun$apply$12.apply(RudderPromiseWriterServiceImpl.scala:197) 
	 at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:772) 
	 at scala.collection.immutable.Map$Map4.foreach(Map.scala:181) 
	 at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:771) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$com$normation$rudder$services$policies$RudderCf3PromisesFileWriterServiceImpl$$prepareRulesForAgents$2.apply(RudderPromiseWriterServiceImpl.scala:197) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$com$normation$rudder$services$policies$RudderCf3PromisesFileWriterServiceImpl$$prepareRulesForAgents$2.apply(RudderPromiseWriterServiceImpl.scala:175) 
	 at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59) 
	 at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl.com$normation$rudder$services$policies$RudderCf3PromisesFileWriterServiceImpl$$prepareRulesForAgents(RudderPromiseWriterServiceImpl.scala:175) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$writePromisesForMachines$1$$anonfun$apply$2.apply(RudderPromiseWriterServiceImpl.scala:140) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$writePromisesForMachines$1$$anonfun$apply$2.apply(RudderPromiseWriterServiceImpl.scala:124) 
	 at scala.collection.immutable.Stream.foreach(Stream.scala:547) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$writePromisesForMachines$1.apply(RudderPromiseWriterServiceImpl.scala:124) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl$$anonfun$writePromisesForMachines$1.apply(RudderPromiseWriterServiceImpl.scala:119) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl.writePromisesForMachines(RudderPromiseWriterServiceImpl.scala:119) 
	 at com.normation.rudder.services.policies.nodeconfig.NodeConfigurationServiceImpl.writeTemplate(NodeConfigurationServiceImpl.scala:320) 
	 at com.normation.rudder.services.policies.DeploymentService_updateAndWriteRule$class.writeNodeConfigurations(DeploymentService.scala:683) 
	 at com.normation.rudder.services.policies.DeploymentServiceImpl.writeNodeConfigurations(DeploymentService.scala:276) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23$$anonfun$apply$26$$anonfun$apply$28$$anonfun$apply$33.apply(DeploymentService.scala:135) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23$$anonfun$apply$26$$anonfun$apply$28$$anonfun$apply$33.apply(DeploymentService.scala:126) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23$$anonfun$apply$26$$anonfun$apply$28.apply(DeploymentService.scala:126) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23$$anonfun$apply$26$$anonfun$apply$28.apply(DeploymentService.scala:125) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23$$anonfun$apply$26.apply(DeploymentService.scala:125) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23$$anonfun$apply$26.apply(DeploymentService.scala:119) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23.apply(DeploymentService.scala:119) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20$$anonfun$apply$23.apply(DeploymentService.scala:118) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20.apply(DeploymentService.scala:118) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17$$anonfun$apply$20.apply(DeploymentService.scala:113) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17.apply(DeploymentService.scala:113) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14$$anonfun$apply$17.apply(DeploymentService.scala:108) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14.apply(DeploymentService.scala:108) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11$$anonfun$apply$14.apply(DeploymentService.scala:103) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11.apply(DeploymentService.scala:103) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9$$anonfun$apply$11.apply(DeploymentService.scala:98) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9.apply(DeploymentService.scala:98) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6$$anonfun$apply$9.apply(DeploymentService.scala:93) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6.apply(DeploymentService.scala:93) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$6.apply(DeploymentService.scala:92) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4.apply(DeploymentService.scala:92) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2$$anonfun$apply$4.apply(DeploymentService.scala:91) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2.apply(DeploymentService.scala:91) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2$$anonfun$apply$2.apply(DeploymentService.scala:90) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2.apply(DeploymentService.scala:90) 
	 at com.normation.rudder.services.policies.DeploymentService$$anonfun$2.apply(DeploymentService.scala:89) 
	 at net.liftweb.common.Full.flatMap(Box.scala:555) 
	 at com.normation.rudder.services.policies.DeploymentService$class.deploy(DeploymentService.scala:89) 
	 at com.normation.rudder.services.policies.DeploymentServiceImpl.deploy(DeploymentService.scala:276) 
	 at com.normation.rudder.batch.AsyncDeploymentAgent$DeployerAgent$$anonfun$messageHandler$1.applyOrElse(AsyncDeploymentAgent.scala:317) 
	 at scala.runtime.AbstractPartialFunction$mcVL$sp.apply$mcVL$sp(AbstractPartialFunction.scala:33) 
	 at scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:33) 
	 at scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:25) 
	 at net.liftweb.actor.LiftActor$class.execTranslate(LiftActor.scala:440) 
	 at com.normation.rudder.batch.AsyncDeploymentAgent$DeployerAgent$.execTranslate(AsyncDeploymentAgent.scala:309) 
	 at net.liftweb.actor.SpecializedLiftActor$class.liftedTree2$1(LiftActor.scala:288) 
	 at net.liftweb.actor.SpecializedLiftActor$class.net$liftweb$actor$SpecializedLiftActor$$proc2(LiftActor.scala:287) 
	 at net.liftweb.actor.SpecializedLiftActor$$anonfun$net$liftweb$actor$SpecializedLiftActor$$processMailbox$1.apply$mcV$sp(LiftActor.scala:210) 
	 at net.liftweb.actor.SpecializedLiftActor$$anonfun$net$liftweb$actor$SpecializedLiftActor$$processMailbox$1.apply(LiftActor.scala:210) 
	 at net.liftweb.actor.SpecializedLiftActor$$anonfun$net$liftweb$actor$SpecializedLiftActor$$processMailbox$1.apply(LiftActor.scala:210) 
	 at net.liftweb.actor.SpecializedLiftActor$class.around(LiftActor.scala:224) 
	 at com.normation.rudder.batch.AsyncDeploymentAgent$DeployerAgent$.around(AsyncDeploymentAgent.scala:309) 
	 at net.liftweb.actor.SpecializedLiftActor$class.net$liftweb$actor$SpecializedLiftActor$$processMailbox(LiftActor.scala:209) 
	 at net.liftweb.actor.SpecializedLiftActor$$anonfun$2$$anonfun$apply$mcV$sp$1.apply$mcV$sp(LiftActor.scala:173) 
	 at net.liftweb.actor.LAScheduler$$anonfun$9$$anon$2$$anon$3.run(LiftActor.scala:64) 
	 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
	 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
	 at java.lang.Thread.run(Thread.java:744) 
 </pre>

Back