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_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 just > wanted to make sure I wasn't missing something. > > Thanks, > Justin > -- Mark Burgess ------------------------------------------------- Professor of Network and System Administration Oslo University College, Norway Personal Web: http://www.iu.hio.no/~mark Office Telf : +47 22453272 ------------------------------------------------- _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine