What is the proper way to pull in a variable into ...
# puppet
c
What is the proper way to pull in a variable into a
exec
command
?
/usr/bin/echo ${::db_name}
<- will this not work? It doesn't seem to work for me. Can the
$db_name
be pulled in from another profile/module that has been included in the role file? I have created a new module that I want to pull in the
$db_name
from, but this variable is declared in another module/profile that is being included with the role that is being ran.