Forum: Cfengine Help
Subject: Suggestions for testing with command line arguments?
Author: debheller
Link to topic: https://cfengine.com/forum/read.php?3,21781,21781#msg-21781

Hello All,

When I want to test my latest promises, and I've used this for testing:


# cf-agent -Knvf ./promises.cf -b def,agent_test -D cfagent_testservice_conf


Where,


          def = bundle common def        (in promises.cf)
   agent_test = bundle common agent_test (in cfagent.testservice.conf)


I find this works pretty well. I have several OS's I maintain with Cfengine, 
and this is the only way I know to skip the promises in other OS bundles, 
without actually logging in to the remote host.

Does anyone have any nifty command-line tests to share?

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

Reply via email to