Any of you folks have any good tests that you use to make sure a module has completed successfully? Any best practice suggestions? I looked around on the www but didn''t see anything about this. Please point me in the right direction if I missed it. thanks, guy -- 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.
I have the same question. I will need to verify if the services are up after the puppet catalog is applied. Currently I have to use a shell script to do it. It will be great if it can be defined as puppet script and included in the module. -Yushu +-------------------------------------------------+ | Yushu Yao | Ph:1-510-486-4690 | | Lawrence Berkeley National Lab | 1 Cyclotron Road | Berkeley CA 94720 - USA +-------------------------------------------------+ On Fri, Jun 10, 2011 at 1:12 PM, Guy Matz <gmatz@matz.org> wrote:> Any of you folks have any good tests that you use to make sure a module has > completed successfully? Any best practice suggestions? > > I looked around on the www but didn''t see anything about this. Please > point me in the right direction if I missed it. > > thanks, > guy > > -- > 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. >-- 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.
Shouldn''t your catalog apply any changes to the services then, and just notify yourself on failures? Or am I missing a bigger picture here? ________________________________ From: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] On Behalf Of Yushu Yao Sent: Friday, June 10, 2011 2:15 PM To: puppet-users@googlegroups.com Subject: Re: [Puppet Users] Testing, testing . . . I have the same question. I will need to verify if the services are up after the puppet catalog is applied. Currently I have to use a shell script to do it. It will be great if it can be defined as puppet script and included in the module. -Yushu +-------------------------------------------------+ | Yushu Yao | Ph:1-510-486-4690 | | Lawrence Berkeley National Lab | 1 Cyclotron Road | Berkeley CA 94720 - USA +-------------------------------------------------+ On Fri, Jun 10, 2011 at 1:12 PM, Guy Matz <gmatz@matz.org> wrote: Any of you folks have any good tests that you use to make sure a module has completed successfully? Any best practice suggestions? I looked around on the www but didn''t see anything about this. Please point me in the right direction if I missed it. thanks, guy -- 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 <mailto:puppet-users%2Bunsubscribe@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. This email communication and any files transmitted with it may contain confidential and or proprietary information and is provided for the use of the intended recipient only. Any review, retransmission or dissemination of this information by anyone other than the intended recipient is prohibited. If you receive this email in error, please contact the sender and delete this communication and any copies immediately. Thank you. http://www.encana.com -- 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.
Guy Matz wrote:> Any of you folks have any good tests that you use to make sure a module > has completed successfully? Any best practice suggestions? > > I looked around on the www but didn''t see anything about this. Please > point me in the right direction if I missed it. > > thanks,Have you had a look at Cucumber-Puppet? http://projects.puppetlabs.com/projects/cucumber-puppet Regards James Turnbull -- James Turnbull Puppet Labs 1-503-734-8571 -- 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.
* Yushu Yao [2011-06-10]:> I will need to verify if the services are up after the puppet catalog > is applied.I made a habit of setting up nagios checks for all my services. If you don''t have monitoring, I suggest using something like cucumber-nagios to specify intended behaviour, i.e. service is up and running and checking it in postrun. See http://www.unixdaemon.net/tools/puppet/nagios-wrapped-puppet-runs.html for an example.> Currently I have to use a shell script to do it. It will be great if > it can be defined as puppet script and included in the module.You could do this with nagios checks. cheers, Nikolay -- 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.