On Sun, May 22, 2011 at 11:06 PM, Matthew Macdonald-Wallace <
[email protected]> 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:
>
> class nginx {
>
> service { 'nginx':
> require => Service['php-fpm::php-fpm'],
>
if the name of the service is php-fpm, you can just reference it as:
service { 'nginx':
require => Service['php-fpm']
}
in general though, it is a little more maintainable to specify inter-module
deps at the class level:
service { 'nginx':
require => Class['php']
}
> 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 [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.
>
>
--
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.