Hi all,

I am facing this problem now and I cannot seem to find any tips on what 
would be the best option, so hopefully I can get some advice here!
The scenario is the following: I want to change the IP of the Puppetmaster 
node and update the hosts files -no DNS at the moment- in that node and in 
the rest of the agents with the new IP.
If the hosts files are updated at the same time as the IP everything is 
fine. 

However, some times the Puppet agent catalogs might take a big longer to 
compile than the catalog in the Puppetmaster node, causing the following:

1- Puppet master compiles catalog for its node
2- Puppet agent in the Puppetmaster node applies the catalog with the IP 
change.
3- The rest of the nodes finally compile their catalogs, but the 
Puppetmaster node has finished applying its catalog by then.

As a consequence, the nodes cannot reach the Puppetmaster any more because 
their hosts file have the old IP.

The question would be: Is there some sort of synchronisation method for 
catalog compilation? Can I specify any kind of ordering? I know Puppet has 
no means to synchronise resources between nodes, so I thought this might be 
another option.
(I know the best answer would be "Use DNS!!!!!!!", but unfortunately that's 
not an option at the moment).

Thanks!
Cesar.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/0e57576b-d658-42dd-aada-b4a91f62a6e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to