Forum: CFEngine Help
Subject: Re: comma in bundlesequence parameter -, is this normal
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,24860,24863#msg-24863
I think the comma is just an artifact of the verbose-printing code.
I would second Neil's suggestion of using methods, it makes the code clearer
(IMO) to put any calls and arguments there, than to hide them in the
bundlesequence. Something like this:
body common control
{
bundlesequence => { "config_fs" };
inputs => { "/var/cfengine/masterfiles/cfengine_stdlib.cf" };
host_licenses_paid => "100";
}
bundle agent config_fs
{
methods:
"tmpfs" usebundle => tmpfsconfig("20g");
}
I think it makes the intention easier to understand, and also easier to extend
- you could add other filesystem-configuration bundles to the methods:
sequence, while keeping the top-level call the same.
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine