On Sep 20, 1:02 pm, Matthew Willsher <matthew.wills...@gmail.com> wrote: > On Sep 19, 4:06 pm, Matt <matthew.wills...@gmail.com> wrote: > > > On Sep 19, 3:52 pm, John Kennedy <skeb...@gmail.com> wrote: > > > > Would it be possible to create a class to install Glassfish and require > > > that > > > class to be fulfilled before? I actually thought that > > > require => Package['glassfish'] > > > would have the desired effect... > > > That's what I was expecting but it fails when it can't find asadmin > > then if I create a dummy asadmin it files when it can't find > > passwordfile. > > Further reading reveals this to be a function of the provider > suitability checks. Apparently the use of stages (>=2.6) can be used > to resolve this, so there's my way forward.
Sorry to post to my own reply and so soon afterwards, but stages appear not to have resolved this. It seems that the provider tests are done irrespective of stages, so at this point it looks as though it's not possible to use providers that exist as the result of the action of another resource. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@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.