Schofield
2013-Apr-29 13:18 UTC
[Puppet Users] checking puppet run status of node A during puppet run of node B
I have some middleware where the successful configuration of node B is dependent on the successful configuration of node A. Node B must pull additional information from node A during its configuration. Is there any built in functionality in puppet for checking the completion status of other nodes? Right now my intent is to write a custom function to query the puppetdb which is storing reports. I want to make sure I am not missing some other elegant solution in puppet that already does this. -- 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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Keith Burdis
2013-Apr-29 14:12 UTC
Re: [Puppet Users] checking puppet run status of node A during puppet run of node B
I don''t believe there is any existing Puppet functionality that does this though the Capabilities armature<https://github.com/puppetlabs/armatures/blob/master/arm-6.capabilities/capabilities.md> discusses a potential future solution. You might find dalen/puppetdbquery<https://github.com/dalen/puppet-puppetdbquery> useful for your solution. - Keith On 29 April 2013 14:18, Schofield <dbschofield@gmail.com> wrote:> I have some middleware where the successful configuration of node B is > dependent on the successful configuration of node A. Node B must pull > additional information from node A during its configuration. Is there any > built in functionality in puppet for checking the completion status of > other nodes? Right now my intent is to write a custom function to query > the puppetdb which is storing reports. I want to make sure I am not > missing some other elegant solution in puppet that already does this. > > -- > 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 puppet-users+unsubscribe@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > >-- 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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
walterheck@olindata.com
2013-May-01 05:30 UTC
[Puppet Users] Re: checking puppet run status of node A during puppet run of node B
Look into exported resources to see if it can do what you need. Works a tad better then qeurying puppetdb or contacting B directly, much more scalable too :) On Monday, April 29, 2013 3:18:20 PM UTC+2, Schofield wrote:> > I have some middleware where the successful configuration of node B is > dependent on the successful configuration of node A. Node B must pull > additional information from node A during its configuration. Is there any > built in functionality in puppet for checking the completion status of > other nodes? Right now my intent is to write a custom function to query > the puppetdb which is storing reports. I want to make sure I am not > missing some other elegant solution in puppet that already does this. >-- 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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.