On Mon, Sep 19, 2011 at 15:18, Matt <[email protected]> wrote:
> Hi there,
>
> I'm not sure the subject is entirely clear, so I'll do my best to
> explain it here.
>
> I'm trying to use the larstobi-puppet-glassfish module to configure
> Oracle Glassfish. I have the following for a domain:
>
> 1 class glassfish::testdomain {
> 2 domain {
> 3 "testdomain":
> 4 user => 'appserv',
> 5 asadminuser => 'admin',
> 6 passwordfile => '/opt/glassfish/.aspass',
> 7 ensure => 'present',
> 8 portbase => '9001',
> 9 require => Package['glassfish']
> 10 }
> 11 }
>
> The problem is that when I run this, the glassfish module causes it
> all to fail because asadmin, required as a provider, isn't available,
> nor is the passwordfile. But then it won't be available because
> glassfish isn't installed.
>
> Is there a way to pend the domain item until the glassfish package
> requirement is satisfied?
>
> Thanks
> Matt
>
>
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...
John
--
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.