cfengine and variable

Cedric BRINER work at infomaniak.ch
Wed Mar 29 14:27:52 CEST 2006


hello,

I was knocking my head against a wall with cfengine script in general.

when I realize that this cfengine script is not working 
   #! /usr/bin/cfengine
   
   control:
      OutputPrefix = ("cfengine")
      actionsequence = ( files directories editfiles )
      EditFileSize = ( 30000 )
   
   files:
      any::
   
   directories:
      any::
   	/root/qq mode=0700 owner=0 group=0
   	${target}/root/ww mode=0700 owner=0 group=0

if you do not an export target='' before.

not work    unset target=''; /usr/sbin/fai softupdate
work        export target=''; /usr/sbin/fai softupdate 


does some of you has already experiment such situation ?

Ced.

-- 

Cedric BRINER
Geneva - Switzerland



More information about the linux-fai mailing list