Forum: CFEngine Help
Subject: Re: Methods and default variables
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,23009,23037#msg-23037
Sorry Ben, I don't follow you. Let me rephrase for you. Given the policy
below how could the called bundle use some default values if none are provided?
methods:
'any' usebundle => foo("x","y","z");
...
bundle foo (x,y,z) {
Do something
}
Suppose instead i did this.
methods:
'any' usebundle => foo;
...
bundle foo (x,y,z) {
Do something
}
Could foo somehow have its own default values that are overridden only if
values are passed?
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine