Hi,

Let's say my "master" files repository is located in /path/to/masterfiles
on one policy host, but on /other/path/to/masterfiles on another policy
host. I was hoping to expose the master files repository via a symlink, so
that all the clients could pull down from some /path/to/symlink/masterfiles
that links to /path/to/masterfiles on the first policy host, and links
to /other/path/to/masterfiles on the other host.

I tried this and I get an unspecified server refusal when I request
anything under /path/to/symlink. When I run the server verbosely, I see
"Cannot stat /path/to/symlink/masterfiles/whatever-file-I-requested"; but
it's clearly there if I use ls. If I switch to using the
real /path/to/masterfiles, everything works.

Is there a configuration setting I need to convince the server to traverse
that symlink?

Alternately (and maybe more easily): is there a way to pull down a value
from the policy host for the path to its master files repository? Something
I could do in a global settings promise? Then I could just copy files from
${g.repo}.

Many thanks
Dan Friedman


CONFIDENTIALITY WARNING 
This communication, including any attachments, is for the exclusive use of 
addressee and may contain proprietary and/or confidential information. If you 
are not the intended recipient, any use, copying, disclosure, dissemination or 
distribution is strictly prohibited. If you are not the intended recipient, 
please notify the sender immediately by return e-mail, delete this 
communication and destroy all copies.

AVERTISSEMENT RELATIF À LA CONFIDENTIALITÉ 
Ce message, ainsi que les pièces qui y sont jointes, est destiné à l’usage 
exclusif de la personne à laquelle il s’adresse et peut contenir de 
l’information personnelle ou confidentielle. Si le lecteur de ce message n’en 
est pas le destinataire, nous l’avisons par la présente que toute diffusion, 
distribution, reproduction ou utilisation de son contenu est strictement 
interdite. Veuillez avertir sur-le-champ l’expéditeur par retour de courrier 
électronique et supprimez ce message ainsi que toutes les pièces jointes.
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to