Forum: CFEngine Help
Subject: Re: copy_from symbolic links with link_type=none
Author: nickanderson
Link to topic: https://cfengine.com/forum/read.php?3,26584,26614#msg-26614

Sorry, I should have been more clear.

I was saying that using files_single_copy looks like it could be a replacement 
for your symlinking (depending on your file hierarchy). You would use it 
instead of creating a duplicate structure with symlinks pointing to what you 
want.

Store your files like this

MASTER/etc/sudoers
MASTER/etc/sudoers.somegroup
MASTER/etc/sudoers.hostname

Then you try to copy the files from most specific to least. If sudoers.hostname 
does not exist, it will try sudoers.somegroup, if that doesnt exist it will 
grab plain old default sudoers.

It may not work out well for your setup but its worth taking a look at.

It looks like you found copylink patterns so hopefully your issues is resolved 
anyway.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to