Hi there

I thought that initially as well, so I modified the provider to use a full
path rather than assume it was on the path.

The log files below are prints of the variables which are being passed
around...

Cheers
Gav
On Sep 27, 2012 12:53 PM, "Dick Davies" <rasput...@hellooperator.net> wrote:

> At a guess the asadmin command isn't in puppetd's $PATH.
> Maybe try a full path to the executable to confirm?
>
> On 26 September 2012 17:01, Gavin Williams <fatmc...@gmail.com> wrote:
> > Hi there,
> >
> > I'm trying to setup Glassfish config management using puppet.
> > I've found larstobi's module here which I've cloned and am starting to
> > tweak, as it would appear that the mentioned module is based on Solaris,
> > therefore I'm starting to add support for EL. My code tree is here.
> >
> > The challenge I'm hitting currently is that upon executing, it's failing
> > with
> >>
> >> err: Could not find a suitable provider for domain
> >
> >
> > When running at debug level, I can see the following:
> >>
> >> debug: Puppet::Type::Domain::ProviderAsadmin: file asadmin does not
> exist
> >> debug: Class[Glassfish::Domain]: The container Stage[main] will
> propagate
> >> my refresh event
> >> err: Could not find a suitable provider for domain
> >
> >
> > I've verified that the asadmin file exists, as follows:
> >>
> >> notice: /Stage[main]/Glassfish::Domain/Notify[gfdomain]/message: defined
> >> 'message' as 'Creating Glassfish domain cms using portbase 9000.
> >>  Asadmin file is: /usr/local/glassfish-3.1.2/bin/asadmin.'
> >
> >
> >> # file /usr/local/glassfish-3.1.2/bin/asadmin
> >> /usr/local/glassfish-3.1.2/bin/asadmin: POSIX shell script text
> executable
> >
> >
> > So the file definitely exists, and is a valid 'asadmin' file.
> >
> > Any ideas?
> >
> > Cheers
> > Gavin
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Puppet Users" group.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msg/puppet-users/-/A_85G-eU3TwJ.
> > 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.
>
> --
> 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.
>
>

-- 
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.

Reply via email to