Erlend Leganger <[email protected]> writes: > I am tidying up my policies a bit and thought it was a good idea to > put various common settings into a common bundle. This works fine for > regular text variables, but I had problems referring to globally > defined slists (see tester1 below). The kludge I came up with (see > tester2 below) was to copy the global slist into a local in the vars > section and then use the local copy. There must be a better way?
“Scalar references to local list variables imply iteration”[1] Some examples in the reference manual[2] Regards. Footnotes: [1] http://www.cfengine.org/manuals/cf3-tutorial.html#List-variables [2] http://www.cfengine.org/manuals/cf3-reference.html#List-variable-substitution-and-expansion -- Daniel Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1
pgpDi3XQzJ6IP.pgp
Description: PGP signature
_______________________________________________ Help-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/help-cfengine
