cfengine and variable

Cedric BRINER work at infomaniak.ch
Wed Mar 29 15:02:58 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.

Sorry I've forgot to say that both of them (with/without target setted) the
cfengine script doesn't work when launched through /usr/sbin/fai softupdate




-- 

Cedric BRINER
Geneva - Switzerland



More information about the linux-fai mailing list