Well, I tried, and (even in default.pp) i can access the var with $::env.
Thanks anyway.
Le mercredi 13 novembre 2013 14:50:56 UTC+1, Thomas RICOU a écrit :
>
> Hi, I think you understood quite well my question even if I was not so
> clear... ;)
>
> Anyway, according to what you
"foo.example.com" to that group, the parameter will available
> in puppet as a top-scope/global variable, i.e. $::foo.
>
> Is that what you were asking?
>
> -jantman
>
> On 11/13/2013 06:54 AM, Thomas RICOU wrote:
> > Hi
> >
> > I'm kinda
Hi
I'm kinda noobish to puppet and I can't find an answer to my question. What
can I can do with the dashboard groups ? In fact I'm interested in setting
a var "env" to a value in ['devel','valid','prod']. this value should be
set only once when I create a new virtual machine using a puppet age