Is there a way to reference the inputfile from within a cfengine-configuration, 
if cf-agent is called with '-f <filename>'?

I am running a test configuration with 

cf-agent -f testconfig.cf

inside this configuration, I have a promise of the form:

commands: 
          "$(sys.workdir)/bin/cf-report";

Now i want to add 
        args => "-f <filename>"

where <filename> is a reference to the current configuration.

-- 
Anders Bruvik
Server and Storage Management Group, University of Oslo
a.s.bru...@usit.uio.no




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

Reply via email to