Forum: CFEngine Help
Subject: How to make my own bundle?
Author: marc
Link to topic: https://cfengine.com/forum/read.php?3,22758,22758#msg-22758

Hi List

This might be a dump Q. But how do I make my own bundle in a common file. And 
then use this i other file?

Something like this:

common.cf

bundle mybundle bla
{
# do some fancy stuff
}

bundle mybundle bla1(x)
{
# do some fancy stuff with x
}


hello_world.cf

body common control
{
bundlesequence => { "test" };
inputs => {"common.cf"};
}
bundle agent hello
{
reports:
 cf3::
   mybundle => bla;
}


Is this at all possible or im I mixing things up?

Best
.Marc

_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to