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

Reply via email to