How to use databinding when multiple classes require the same parameters?
I am currently looking at hiera and data lookups for parameterized classes so I can define all parameters in hiera and can use the include statement in my node definitions. I have one question about it:
Let's assume I have an application that needs a MySQL Database as a storage backend. I have a class that creates the database and a database user with a password and grant the user access to the database. I also ship the configuration file of the application as a template and again I need the username and password so the application is able ... (more)