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.


Reply via email to