Getting 100+ unmanaged agents synced back to master

asked 2015-07-01 13:32:22 -0600

neeper67 gravatar image

I use foreman as my front end.

100+ puppet agents were being managed at some point, then manually disabled via foreman.

I now want to enable them, but there have been so many individual local changes on the agents.

If I enabled puppet agent on those agent servers, then I'm sure that most things would break.

So getting to my question, is there a way to pull the "changes" from the agent and import those "changes" into the master classes?

For example, Puppet agent has apache classes applied. I disabled the agent a year ago. Within the year, I added to the httpd.conf and added a few conf files. I never put those changes into puppet master. Now if I enable the puppet agent, my httpd.conf changes would disappear along with the few conf files. This would happen on about 100+ servers, all different changes to each individual.

I'm sure my environment is not the only one that this happens to. There must be a programmatic way to find these individual local agent changes back to the master. Or at least I hope so.

Any insight would be much appreciated!

edit retag flag offensive close merge delete


I cannot think of any way this might work. I've never heard of any "programmatic way" like this. I doubt there is any. How should puppet know if new files where added without you telling it? I don't think there is a way to automate this. In your situation, I wouldn't wait for an answer to this post.

sinned gravatar imagesinned ( 2015-07-07 03:22:07 -0600 )edit