What I am looking to do is use Puppet to automatically sync a handful of application configuration files between distributed servers, and bounce (reload) the applicable service. Forgive me for asking a question that is covered somewhere, however I did my best homework on the topic and found numerous posts to suggest Puppet for this, but no real world examples of how to do it. Thanks in advance! John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/4XQlkYxDmg8J. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
The Puppet cookbook is always a good starting point: http://puppetcookbook.com/. And for your particular problem this is the real world example: http://puppetcookbook.com/posts/restart-a-service-when-a-file-changes.html Bernd From: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] On Behalf Of John Macleod Sent: Mittwoch, 7. November 2012 12:34 To: puppet-users@googlegroups.com Subject: [Puppet Users] Config Sync What I am looking to do is use Puppet to automatically sync a handful of application configuration files between distributed servers, and bounce (reload) the applicable service. Forgive me for asking a question that is covered somewhere, however I did my best homework on the topic and found numerous posts to suggest Puppet for this, but no real world examples of how to do it. Thanks in advance! John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/4XQlkYxDmg8J. To post to this group, send email to puppet-users@googlegroups.com<mailto:puppet-users@googlegroups.com>. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com<mailto:puppet-users+unsubscribe@googlegroups.com>. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Wednesday, November 7, 2012 5:34:16 AM UTC-6, John Macleod wrote:> > What I am looking to do is use Puppet to automatically sync a handful of > application configuration files between distributed servers, and bounce > (reload) the applicable service. > > Forgive me for asking a question that is covered somewhere, however I did > my best homework on the topic and found numerous posts to suggest Puppet > for this, but no real world examples of how to do it. > >Syncing files and restarting services is pretty basic stuff for Puppet. I confess I''m surprised that you didn''t find "real world" examples, but if they''re really so rare then it''s because those are not the tasks that people usually get hung up on. I do recommend you read the Puppet reference manual (http://docs.puppetlabs.com/puppet/3/reference/), and especially its sections on the Puppet language. If nothing else, you must at minimum read the one-page language summary, which in fact (and coincidentally) has an example of exactly what you''re asking about. John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/n7P3D7Jhw_oJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.