On Thu, Jan 6, 2011 at 12:29, Luc Suryo <[email protected]> wrote:
> Is it possible to define a class say php-fpm that requires the class
> php to be called first? if so what s the syntax?
Yes: package { "foo": require => Class["bar"] }
I think Nigel just pointed out in another thread that this is, in
fact, our recommended way to do cross-module and cross-class
dependencies. I certainly do, because it means you can change the
implementation of the PHP stuff without peturbing the php-fpm module
at all.
Regards,
Daniel
--
✉ Daniel Pittman <[email protected]>
⌨ [email protected] (XMPP)
☎ +1 503 893 2285
♻ made with 100 percent post-consumer electrons
--
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.