RE: classmatch+canonify vs. classify

2010-05-07 Thread Justin Lloyd
Lloyd Cc: help-cfengine Subject: Re: classmatch+canonify vs. classify Classify canonifies the literal string, but does not take regexes as args, but canonify would remove regexes, so the effect would be the same, as you point out. Justin Lloyd wrote: > Stupid question: Is there any substant

Re: classmatch+canonify vs. classify

2010-05-07 Thread Mark Burgess
Classify canonifies the literal string, but does not take regexes as args, but canonify would remove regexes, so the effect would be the same, as you point out. Justin Lloyd wrote: > Stupid question: Is there any substantive difference between these two > class definitions? > >"the_policy_h

classmatch+canonify vs. classify

2010-05-06 Thread Justin Lloyd
Stupid question: Is there any substantive difference between these two class definitions? "the_policy_host" expression => classmatch(canonify("policy.domain.com")); "the_policy_host" expression => classify("policy.domain.com"); These seem exactly the same according to the documentation. I