On Jul 22, 4:20 am, Daniel Maher <[email protected]> wrote: > On 07/21/2010 09:59 PM, bmort wrote: > > > Does anyone know of or have a module ( they are willing to share ) > > that supports both monitrc and monit.conf. > > Is there a functional / syntactical difference between monit.conf and > monitrc, or are they just two implementations of the same thing (my > interpretation is the latter). > Latter. > Assuming they are the same thing, why would you have both on a system in > the first place ? Just pick one and be done with it. :) If you need to > support different distros (and, thus, different filenames), then you > could just use a simple case statement to pick the appropriate filename. > See the following item in the documentation > :http://docs.puppetlabs.com/guides/language_tutorial.html#case_statement > Yes. Diff distros. Thank you for the refs to the language tutorial, that pointed me in the right direction.
I ended up using. http://projects.puppetlabs.com/projects/puppet/wiki/Monit_Patterns Thanks again. > -- > Daniel Maher <dma AT witbe DOT net> > "The Internet is completely over." -- Prince -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
