Can you try to restate the problem? I don't see exactly what you are
getting at. If you want to insert the hostname into a file, editfiles
should be able to do that.

On Wed, Dec 9, 2009 at 2:46 AM, Tom Van de Velde
<tom_vandeve...@yahoo.com> wrote:
> Hi,
>
> I'm facing a problem where i need to construct a file with content.  (where 
> is the problem here :-) )
> Well the content is based on the hostname ...
>
> So I have a input.txt with :
> server1 command 1 option 1
> server1 command 2 option 4
> server1 command 3 option 4
> server2 command 1 option 4
> server2 command 5 option 4
>
> in bash a simple grep should do the trick ... but how can cfengine handle 
> this.
>
> One extra thing to know... it is cfengine version 2, that is still used....
>
> Regards,
> Tom
>
>
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine
>
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to