It seems to me that a few puppet modules do access variables from 
non-included classes (for example 
https://github.com/puppetlabs/puppetlabs-mysql/blob/master/manifests/config.pp 
look 
at how stuff is pulled out of mysql::params).

I do not understand how this is supposed to work. What happens if you do 
this from a parameterized class, and include it later with distinct 
parameters ? Is that even legal ? What about resources that might be in 
mysql::params ? Or is that just working because of the inheritance ?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/1cTUWR_1HGcJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to