You can indeed use Exported resources. See the first example in this documentation:
http://docs.puppetlabs.com/guides/exported_resources.html The example shows how to have every host export its SSH public key, and then collect every host’s key and install it in the ssh_known_hosts file (which is what the sshkey type does); this would include the host doing the exporting. You should be able to do the same sort of thing with each host's IP address, and collect them in the hosts file. On Jul 30, 1:57 am, newguy <aimanparv...@gmail.com> wrote: > HI guys > I have a Ubuntu EC2 puppetmaster, 3 types of clients connect to this > master; client A, B ,C . > I want to add the ip address of client B in a module M of client A. > Lets assume that I don't know their ip addresses before hand. > > Is that possible through puppet??? and if yes how????? > > Thanks -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.