Forum: CFEngine Help Subject: methods and defaults Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,27056,27056#msg-27056
I had envisioned the function of defaults as allowing us to pass fewer arguments to a bundle. When this happens the defaults promises, in the called bundle, would cover the missing arguments. In 3.4.0b1, I'm getting an error about missing arguments: error: Conflicting arity in calling bundle cache_and_copy, expected 8 arguments, 7 given. Are my expectation wrong? _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine