Stefan

Was running puppet agent using 'sudo'...

However just tried using root and no difference...

Asadmin definitely exists and has got the right permissions, as shown below:

# file /usr/local/glassfish-3.1.2/bin/asadmin
> /usr/local/glassfish-3.1.2/bin/asadmin: POSIX shell script text executable
> # ls -l /usr/local/glassfish-3.1.2/bin/asadmin
> -rwxr-xr-x. 1 nobody glassfish 2262 Sep 18 16:23
> /usr/local/glassfish-3.1.2/bin/asadmin
>
>
Thoughts?

Cheers
Gavin

On 28 September 2012 06:14, Stefan Schulte
<stefan.schu...@taunusstein.net>wrote:

> On Thu, Sep 27, 2012 at 12:57:01PM +0100, fatmcgav wrote:
> > 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:
> >
> [...]
> > > >> 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
> [...]
>
> Has the file the executable bit set for the user that is running the
> script (probably root)?
>
> -Stefan
>
> --
> 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