We're running foreman 0.4.2 and puppet 2.7.12. I've defined a smart
variable some_sv but can't figure out how to reference it in a puppet
class. Is it not just $some_sv like any other variable? The settings
page has Enable_Smart_Variables_in_ENC set to true.
What am I missing?
Thanks
Len,
That all sounds correct - if you go to the Yaml link for one of your
hosts, do you see the smart variable in the Yaml data?
Greg
···
On 3 April 2012 17:11, LenR wrote:
> We're running foreman 0.4.2 and puppet 2.7.12. I've defined a smart
> variable some_sv but can't figure out how to reference it in a puppet
> class. Is it not just $some_sv like any other variable? The settings
> page has Enable_Smart_Variables_in_ENC set to true.
>
> What am I missing?
>
> Thanks
We found it. The sv was in an inherited class, foreman didn't knonw about
it.
···
On Wed, Apr 4, 2012 at 4:50 AM, Greg Sutcliffe wrote:
On 3 April 2012 17:11, LenR lenrugen@gmail.com wrote:
We’re running foreman 0.4.2 and puppet 2.7.12. I’ve defined a smart
variable some_sv but can’t figure out how to reference it in a puppet
class. Is it not just $some_sv like any other variable? The settings
page has Enable_Smart_Variables_in_ENC set to true.
What am I missing?
Thanks
Len,
That all sounds correct - if you go to the Yaml link for one of your
hosts, do you see the smart variable in the Yaml data?
Greg
–
You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.