On Tue, 09 Feb 2010, Frederik Wagner wrote: > >> @file{"/mountpoint": ensure => directory } > >> > >> @mount{"/mountpoint": > >> ..., > >> require => File["/mountpoint"] > >> } > >> > >> in some other class: > >> Mount<| title == "/mountpoint" |> > > I would like to automatically realize all resources required by the > mount without explicitly stating it in the module realizing the > mount. All requirements should be encapsulated in the module providing > the @mount.
There is a feature request for this: <http://projects.reductivelabs.com/issues/2084>. Until that is implemented, I think you'll need to work around it using a define. --apb (Alan Barrett) -- 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.