I have on my node definition the following code:

*node 'example.com'* {

  class {'push':
                $roles  =>  { rol_as => "false",
                                  rol_ws => "true",
                                  ... },
             }

And I need to pass these variables to a class through:

  *class push ($roles)* {  
  ...
  if $roles[rol_ws]=='true' {
  ...
  }

}
 
It works defining the hash inside the class but on the node definition 
don't work, any suggestion?

Thanks!!






-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/11e8399f-0891-45fa-9a1e-3f079f73185b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to