using profile parameters (with hiera) in multiple class files.
So I'm still struggling a bit with what's the "proper" design pattern, and what blocks to break off into files separated from init.pp. The puppetlabs apache module uses the params.pp, yet puppet-lint complains about inheriting from a params file.
I want to use a profile class and hiera lookups to get the proper values, but how to properly reuse the same variable in separate class files? Inherit, or define the variable multiple times? For example in an install.pp using a variable for the package name, then in the config.pp needing to: require => Package[$package_name]
Thanks for any help provided.