I have this, I think common, situation: - NodeDB VM with MySQL - NodeApp VM with an application that uses the MySQL DB
Obivuously both needs to have information on the DB (like user, DB name, etc.) Since DB will be created in the NodeDB by the MySQL module from puppetlabs and the app will just connect to the DB and do its work, but need to set the configuration parameters. Now ... since App can be installed at any moments at a precise point in time will have to modify the NodeDB definition adding the DB for app and than create/modify the NodeApp to configure app. Can I write down the DB info just once in hiera and refer to these common data from the two nodes? Also passing this data to standard modules in a proper way? This could become handy when I'll have to add a third node, let's say NodeBI that needs to access the app DB for business intelligence reasons, so I'll have to configure a new node with the same DB data. I think that there is the need to access a much higher scope information, but haven't found any clear (at least for me) documentation on this. Thanks Luca -- 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+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.