Forum: Cfengine Help
Subject: Re: Cfengine Help: Cannot copy files to remote host
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,22342,22395#msg-22395
Variables are scoped locally. Your call for the paths list in the bundle
createFolder expects a local variable in that bundle. That is where you should
create that list not in a separate bundle. If a variable is likely to be used
in multiple bundles then you can define the variable in the a common bundle.
Common variables are called via ${bundlename.variablename}.
Further reading:
http://www.cfengine.org/manuals/cf3-reference.html#List-variable-substitution-and-expansion
http://www.cfengine.org/manuals/cf3-tutorial.html#Scalar-variable-expansion
http://watson-wilson.ca/2011/05/managing-crontables-with-cfengine.html
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine