With
import is being phased out, what's the equivalent? I did go through this
deprecation notice but didn't really get it.
Say, I've some side-wide global variables
defines in
sites.pp:
#/etc/puppet/manifests/sites.pp
$my_var1 = 'ThisIsMyVar-2'
$my_var2 = 'ThisIsMyVar-2'
$my_other_var1 = 'ThisIsMyOtherVar-1'
$my_other_var2 = 'ThisIsMyOtherVar-2'
And in my does
nodes.pp, I want to use them:
#/etc/puppet/manifests/nodes.pp
node default {
notify { "This is my MY_VAR: ${my_var}": }
}
How do I do this? Doing above, yields variable not found. Any idea?
Best!