[Puppet Users] Re: Sharing data between nodes with hiera

2013-04-29 Thread jcbollinger
On Monday, April 29, 2013 2:12:54 AM UTC-5, Luca Gioppo wrote: 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

[Puppet Users] Re: Sharing data between nodes with hiera

2013-04-29 Thread Luca Gioppo
I'm new of hiera and I was thinking that it was possible to declare hiera variables just linked to nodes or classes. Indeed the option of getting the data using the hiera() function allows for a common.yaml file to host the global information and thus will follow your suggestion on having