Mitchell Hashimoto
2012-Jul-27 23:11 UTC
[Puppet Users] Atomicity of updates on the Puppet master
Hello, I''m currently setting up some scripts that will pull in new data for Puppet master (modules, manifests, hiera data, etc.) from a Git repository. It works great! However, I''m concerned about atomicity of the whole thing. Does the Puppet master cache the modules/manifests when it starts? If so, do I need to restart the Puppet master on each update? Or can I send it a SIGHUP? etc. Best, Mitchell -- 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.
Trevor Vaughan
2012-Jul-29 15:19 UTC
Re: [Puppet Users] Atomicity of updates on the Puppet master
If you update any server side functions or native types then I would restart the PM or httpd if you''re running Passenger. The PM is *supposed* to note all new updates but I''ve seen cases where this does not always happen. For anything that''s a pure manifest, I have not had an issue. Trevor On Fri, Jul 27, 2012 at 7:11 PM, Mitchell Hashimoto <mitchell.hashimoto@gmail.com> wrote:> Hello, > > I''m currently setting up some scripts that will pull in new data for Puppet > master (modules, manifests, hiera data, etc.) from a Git repository. It > works great! > > However, I''m concerned about atomicity of the whole thing. Does the Puppet > master cache the modules/manifests when it starts? If so, do I need to > restart the Puppet master on each update? Or can I send it a SIGHUP? etc. > > Best, > Mitchell > > -- > 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.-- Trevor Vaughan Vice President, Onyx Point, Inc (410) 541-6699 tvaughan@onyxpoint.com -- This account not approved for unencrypted proprietary information -- -- 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.
Mark Roggenkamp
2012-Jul-31 03:32 UTC
[Puppet Users] Re: Atomicity of updates on the Puppet master
Even if it cached individual files wouldn''t it still be possible for it to grab two related files, one just updated and one not yet updated to be used during a catalog compilation? I think I''m going to treat modules/manifests together as an artifact (tarball probably) and put a new (probably versioned) artifact in another folder and symlink /current to it and use mv -T as described here: http://blog.moertel.com/articles/2005/08/22/how-to-change-symlinks-atomically. Sound reasonable? Thx Mark On Friday, July 27, 2012 7:11:33 PM UTC-4, Mitchell Hashimoto wrote:> > Hello, > > I''m currently setting up some scripts that will pull in new data for > Puppet master (modules, manifests, hiera data, etc.) from a Git repository. > It works great! > > However, I''m concerned about atomicity of the whole thing. Does the Puppet > master cache the modules/manifests when it starts? If so, do I need to > restart the Puppet master on each update? Or can I send it a SIGHUP? etc. > > Best, > Mitchell >-- 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/-/Bl9hjtrx0WEJ. 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.