Sai Kothapalle
2014-Aug-22 13:13 UTC
[Puppet Users] agent needs to get info from another agent (dependency)
Hi, Here is my unique case. I have a speech search application for which the standard installation is to install the application components on 3 nodes or agents. The components have the following depency - Agent 1 needs hostname of agent 2 and agent 3 which is written into a config file - Agent 2 and Agent 3 need the private IP address of Agent 1 to be written into a config file which it uses while starting up the service. I am able to install the packages using puppet and load the config files using erb templates. However, I am unsure of how to go about the dependency between agents. Did lookup Exported resources but while the syntax gives an option to export a type, how do I export IP address etc. is there a better option> Thanks for the help -- 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/2a1950aa-dfc9-4251-8209-009827e78f34%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.