Hello,
I'm running puppet 5.5 OSE.
I've got a class foo:
class foo {
$bar = 'hi'
}
class foo::configure {
file { '/tmp/foo.conf':
content => template('foo/foo.conf.erb'),
}
}
and then in the template:
<%= scope['foo::bar'] %>
but suppose I want to access an out of class variable:
<%= scope['baz::qux'] %>
That does not seem to work. Is there any way to access out of class variables in a template?
Thanks for any help!
-m