Re: cfengine and variable
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 = ( 3 ) 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 workunset target=''; /usr/sbin/fai softupdate workexport 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
Re: cfengine and variable
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 workunset target=''; /usr/sbin/fai softupdate workexport 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 This is probably the same problem as reported here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=310746 Maybe cfengine2 solves this issue!? not maybe it is !!! thank you Ced. P.-S. I've learned that the bugreport can also give information on how to solve the bug Regards, Michael -- Cedric BRINER Geneva - Switzerland