help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

shell constructs in new classes ? how about control:variables ?


From: Eric Berggren
Subject: shell constructs in new classes ? how about control:variables ?
Date: Tue, 16 Jan 2001 13:31:23 -0800

  Was trying to make a new class :

groups:
        ADChosts        = ( `/bin/domainname | egrep -s "adc.hal.com"` )

but it doesn't act like a "shell command", which otherwise sets my NIS domain
to "|".

  Is there a way (short of using a script) to process the '|' pipe like a
shell command-line ?


  How about shell commands & variable interpolation in control:variables ?


  Any ideas on dynamically setting the defaultrouter without using a class
for each subnet ?


thanks,
-eric




reply via email to

[Prev in Thread] Current Thread [Next in Thread]