On Sun, May 22, 2011 at 11:06 PM, Matthew Macdonald-Wallace < li...@truthisfreedom.org.uk> wrote:
> Hi all, > > I've got modules for NGINX and PHP-FPM which are working fine, the issue > I'm running into is that quite often NGinx will start before php-fpm is > even installed. > > I'm wondering if there's a way in the nginx module to "Require" the > PHP-FPM service is started as a dependency of the nginx service, > something like the following: > There's also the 'require' function which does an include and sets up Class <-> Class relationships. > > class nginx { > > service { 'nginx': > require => Service['php-fpm::php-fpm'], > running => true; > } > } > > Is this possible in puppet 0.25 on CentOS? > > Thanks in advance, > > Matt > > -- > 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+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- Nigel Kersten Product, Puppet Labs @nigelkersten -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.