I have some servers named sv01, sv02, sv03, ... which I need a class
for in cf3 community 3.0.2. I have come up with this:

classes:
   "svxx" and =>{classmatch("sv.."),any};

so that I later can do for example:

files:
   svxx::
      "/etc/passwd"
         handle=>"update_passwd",
         ...

I don't remember how I came up with this construct (probably by trial
and error until it clicked) - it looks kind of convoluted.

What is the best way to do this?

- Erlend
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to