Hi there, 

I'm trying to setup Glassfish config management using puppet. 
I've found larstobi's module here 
<https://github.com/larstobi/puppet-glassfish/>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<https://github.com/fatmcgav/puppet-glassfish>
.

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.

Reply via email to