Dear *, I am playing around with cfengine now for a couple of days. One thing that is still not clear to me is how to include new promises. For example i have created the following promise (test.cf):
body common control { bundlesequence => { "tester" }; version => "0.1"; } bundle agent tester { files: "/tmp/tester" comment => "This is a tester!", create => "true"; } The promise is located in '/var/cfengine/inputs'. This promise just creates a file. I have no idea how to make sure the promise will be executed automatically when cf-agent is run. The promise works when I run 'cf-agent -f ./test.cf'. What I did in order to execute this is add the following to 'promises.cf': 1. add "tester" to bundlesequence 2. add "test.cf" to inputs In order to let this work I needed to remove the following from test.cf otherwise it would complain that it is called redundantly: body common control { bundlesequence => { "tester" }; version => "0.1"; } I don't think I am on the right track with calling my promise. So to sum it all up, my question was, what do I need to configure in order to load the test.cf promise? Kind Regards, Niek Timmers University of Amsterdam _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine