Before hiera you might have a define specifying what a vhost is, and then have a class with the defines all listed. You would include that class in your node definition, ensuring that this class was applied after the basic apache class. Sometimes people would put the defines right in the node, but putting stuff directly in the node got discouraged over time. It's basically what you did but having the defines in a class rather than in the node.
Imho trying to learn puppet without hiera nowadays is like trying to learn ski without poles. It is possible, but it is not the best way.
Regards,
--
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 puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/53A86B04.9070202%40badapple.net.
For more options, visit https://groups.google.com/d/optout.
--
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 puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CADBQ%3DdYHGBUi5kD1S2LANZ_o0fZxHPKHii4H53VSmpak0_Ur4Q%40mail.gmail.com.
--
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 puppet-users...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CADBQ%3Dda3eUSE8oYYmZPRHzTTux9aH5iCvv%3DRGb2TZHYCKDNTjg%40mail.gmail.com.