Re: Cfengine Help: Re: edit_line on a symlink

2011-02-03 Thread Frans Lawaetz
> 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

Cfengine Help: Re: edit_line on a symlink

2011-02-03 Thread no-reply
Forum: Cfengine Help Subject: Re: edit_line on a symlink Author: Norbert Link to topic: https://cfengine.com/forum/read.php?3,20423,20431#msg-20431 Yes that's correct. I have such bundles too, but in this case are all the systems "solaris 5.10" (including sparc and x86). So that's not applicable

Cfengine Help: Re: edit_line on a symlink

2011-02-03 Thread no-reply
Forum: Cfengine Help Subject: Re: edit_line on a symlink Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,20423,20430#msg-20430 There must be a way to know the file location based on the OS type, version or flavour. For instance I have to account for the various locations

Cfengine Help: Re: edit_line on a symlink

2011-02-03 Thread no-reply
Forum: Cfengine Help Subject: Re: edit_line on a symlink Author: Norbert Link to topic: https://cfengine.com/forum/read.php?3,20423,20429#msg-20429 Hm ... ok, than i have a real Problem. The real file can be on numerous locations, only the "/etc/xyz.conf" is fixed. Is there no other way ? Or is t

Cfengine Help: Re: edit_line on a symlink

2011-02-03 Thread no-reply
Forum: Cfengine Help Subject: Re: edit_line on a symlink Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,20423,20427#msg-20427 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 thin