RE: Help with server access rules

2010-06-22 Thread Andreas Dan Larsson
Sorry guys, I found my error it was related to not running the policy that I though I was running.. /Andreas > Hi guys, > > Im trying to get the server to serve individual folders to my clients > for distributing sensitive data. The folder is named as the fully > qualified hostname of the cl

Re: Help with server access rules

2010-06-22 Thread Nakarin Phooripoom
IMHO, it should work. To expand 'host_list', you might need to create a small test bundle like the following; bundle agent test { vars: "ls_1"string => execresult("/bin/ls -1 /srv/cfengine-masterfiles/stage/datafiles/","noshell"); "host_list" slist=> splitstring("$(ls_1)","\s"

Help with server access rules

2010-06-22 Thread Andreas Dan Larsson
Hi guys, Im trying to get the server to serve individual folders to my clients for distributing sensitive data. The folder is named as the fully qualified hostname of the client who is supposed to access it. Im using community edition 3.0.4 from debian. Shouldn't this work? And is there a way