Forum: CFEngine Help Subject: Bundle meta data Author: mark Link to topic: https://cfengine.com/forum/read.php?3,25269,25269#msg-25269
I have been thinking about the issue of metadata for bundles, e.g. such as author and version, and have been through a number of alternatives in my head, The problem I have with each of them is that they either change syntax in an ad hoc way to something that is not a natural promise, or they separate the metadata into a separate body. Neither of these seems acceptable. My best answer, which requires no immediate feature implementation is to do this by best practices, using reserved variables. vars: "bundle_author" string => "kermit"; "bundle_version" string => "1.2.3 frog legs"; These are private and can then be used as variables, and examined using functions $(bundle.bundle_version) for validation. Comments? _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine