help-cfengine
[Top][All Lists]
Advanced

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

Re: Defining Classes based on hostname?


From: Mark Burgess
Subject: Re: Defining Classes based on hostname?
Date: Tue, 01 Aug 2006 07:33:25 +0200
User-agent: Mozilla Thunderbird 1.0.8 (X11/20060411)

Jason Martin wrote:
On Mon, Jul 24, 2006 at 03:32:23PM -0400, Brian E. Seppanen wrote:
Is there a means of defining that a host with a specific hostname prefix will belong to a specific class?
SOMECLASS               = ( Regcmp("^cd","${fqhost}") )

-Jason Martin


------------------------------------------------------------------------

_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://lists.gnu.org/mailman/listinfo/help-cfengine

Don't forget that regexs match the whole string, not just part of it,
M





reply via email to

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