Forum: CFEngine Help
Subject: Re: ifvarclass for files:
Author: chadpatt
Link to topic: https://cfengine.com/forum/read.php?3,22789,22793#msg-22793

I should have clarified... 

files:
  cftest.yes_tripwire::
    "/bin"
      changes => detect_filesystem_changes,
      depth_search => etc_tripwire_ignores("inf"),
      file_select => ex_list(@(files_to_ignore));

I can't use my "$(array_name[$(sys.host)][11])" like this

files:
 "$(array_name[$(sys.host)][11])".yes_tripwire::
     "/bin"
      changes => detect_filesystem_changes,
      depth_search => etc_tripwire_ignores("inf"),
      file_select => ex_list(@(files_to_ignore));

thats why I was using the ifvarclass ... UNLESS you have an idea.. I totally 
can't figure this out.

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

Reply via email to