I've not but it is a good idea :) thanks
On 2 March 2012 11:23, denmat <[email protected]> wrote: > HI, > > have you tried including the mounts module in your application.pp? > > include mounts::mount1 > > Either there or in your node definition should do it. > > Cheers, > Den > > On Fri, Mar 2, 2012 at 9:39 PM, Peter Horvath <[email protected]> > wrote: >> Hello, >> >> I have 2 modules and 1 modul has a resource type in a class which >> would require an other class from and other module: >> module/mounts/manifest/mount1.pp >> module/server/manifres/applicaton.pp >> >> Application creates a directory under /srv for itself and /srv should >> be mounted from the shared storage first. >> >> file{'/srv/application': >> ensure => directory, >> require => Class['mounts::mount1'], >> } >> >> this in the application.pp gives class cannot be found error. >> >> How can i require cross module? >> >> Thank you >> Peter >> >> -- >> 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. > -- 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.
