> The promise is to edit a plain file at a specific location. Editing a file > after following a symlink is not the same thing to the agent. I think you'll > need a separate promise for the other location. Or place the file in the > same location everywhere and add a link afterward. >
It's not the same thing to cf-agent but it is arguably an unexpected approach for the cfengine newcomer. One gets comfortable in shell land working, for example, on directory contents via symlinks. In my first encounter with cf3 I naively created a promise to copy files into /etc/init.d only to find that it replaced the symlink with a new dir and dropped the files inside. There are surely arguments for the cf3 approach to symlinks but it would be good if the documentation highlighted the behaviour. I did a quick scan of relevant sections and didn't see anything explicit. Frans _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine