В Птн, 04/06/2010 в 13:12 +0400, Vasiliy G Tolstov пишет:
> How can i use * pattern in inputs? 
> 
> I do not want to specify all files in config file, rather i want to
> inputs => { "xxx/*.cf" };
> 
> (cfengine 3.0.4)
> 

Ok. Because authors of cfengine not like * in inputs, work around:
"soft" slist =>
splitstring(execresult("/usr/bin/find /var/cfengine/inputs/soft/ -type f
-and -name '*.cf'","noshell")," ",99999999);


But my question - why not add this feature to cfengine?

-- 
Vasiliy G Tolstov <v.tols...@selfip.ru>
Selfip.Ru

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

Reply via email to