----- "Michael T. Halligan" <mich...@halligan.org> wrote: > I think what Doug is trying to ask is, how the hell do we make sure > that resources get applied in a predictable order?
And the answer below is the only viable way. And the bigger answer is, mostly it doesn't matter and many people *think* order is important when it's mostly not in practice, for legit cases below is the only option. > > > On Nov 30, 2009, at 4:05 PM, R.I.Pienaar wrote: > > > hello, > > > >>> require CLASS > >>> > >>> from any class starting in 25.1. > >>> > >>> This will ensure that every resource in the current class > requires > >> every resource in the provided CLASS. > >> > >> I wasn't able to get 0.25 to work. After spending a few weeks in > >> abject frustration, unable to get the ssl keys to work, i was > forced > >> to give up and go back to 0.24. > > > > modules are just convenient locations for files, templates and > classes, there isnt a concept of 'do everything in this module' you > need to create wrapper classes, for example: > > > > class php { > > include php::install > > include php::config > > } > > > > class php::xml { > > package{"php-xml": > > ensure => present, > > require => Class["php"] > > } > > } > > > > > > include php > > include php::xml > > > > The require function will make this easier as mentioned but on 0.24 > this is your best bet > > > > -- > > R.I.Pienaar > > > > -- > > > > You received this message because you are subscribed to the Google > Groups "Puppet Users" group. > > To post to this group, send email to puppet-us...@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. > > > > > > -- > > You received this message because you are subscribed to the Google > Groups "Puppet Users" group. > To post to this group, send email to puppet-us...@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. -- R.I.Pienaar -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.