Re: [Puppet Users] Puppet agent does not start in Solaris zone

2013-12-02 Thread Andreas Dvorak
Dear all,

I found the problem.
The package needs to be installed in the global zone. It does not work if 
you install it only in the local zone.

Best regards
Andreas

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/b8931f77-4e03-45d8-8b5b-6f3dfef1df40%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] Puppet agent does not start in Solaris zone

2013-11-18 Thread Andreas Dvorak
Hi Rich,

the package installs CSWruby18 VERSION:  1.8.7p334,REV=2011.03.24 and that 
is supported.

Andreas

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/ebcd980b-a6d0-4988-96e9-c04282931e6a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] Puppet agent does not start in Solaris zone

2013-11-15 Thread Rich Burroughs
I'm not sure. I'd check to see if your Ruby version is supported:

http://docs.puppetlabs.com/guides/platforms.html


Rich

On Friday, November 15, 2013, Andreas Dvorak wrote:

> Hi Rich,
>
> I tried
> /opt/csw/bin/puppet agent --test
> bash: /opt/csw/bin/puppet: /opt/csw/bin/ruby18: bad interpreter: Invalid
> argument
>
> But unfortunately that does not help me. Have you got any idea?
>
> Regards
> Andreas
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com  'cvml', 'puppet-users%2bunsubscr...@googlegroups.com');>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/7e075d33-8137-4986-86d1-bd117b04ee0c%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAPGcbtAGeqs0PDbdEm-yDXH20-92bLaUFUQPAf-%2Bx4NHFdar%3Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] Puppet agent does not start in Solaris zone

2013-11-15 Thread Andreas Dvorak
Hi Rich,

I tried
/opt/csw/bin/puppet agent --test
bash: /opt/csw/bin/puppet: /opt/csw/bin/ruby18: bad interpreter: Invalid 
argument

But unfortunately that does not help me. Have you got any idea?

Regards
Andreas

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/7e075d33-8137-4986-86d1-bd117b04ee0c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] Puppet agent does not start in Solaris zone

2013-11-14 Thread Rich Burroughs
Hi,

It's starting up through SMF? What happens if you try to run the agent
directly? Like:

sudo puppet agent -t

Or run it as root without sudo.


Rich

On Wednesday, November 13, 2013, Andreas Dvorak wrote:

> Dear all
>
> the puppet agent does not want to start on my first Solaris zone. I have
> already Puppet on x86 server running.
> Can anybody please help me?
>
> I have created a package for Solaris 10 Sparc to use the puppet agent on a
> Solaris zone.
>
> /opt/csw/bin/pkgutil -a puppet
> common   package  catalog
> size
> puppet   CSWpuppet2.7.23,REV=2013.08.15  728.3
> KB
> puppet3  CSWpuppet3   3.3.1,REV=2013.10.22   980.4
> KB
> puppetmaster CSWpuppetmaster  2.7.23,REV=2013.08.153.4
> KB
> puppetmaster3CSWpuppetmaster3 3.3.1,REV=2013.10.22 2.2
> KB
>
> from http://mirror.opencsw.org/opencsw/unstable
>
> Command to create the package:
> /opt/csw/bin/pkgutil --stream --target=sparc:5.10 --output
> CSWpuppet3_agent_sparc_3.3.1.pkg --yes --download CSWpuppet3
>
> But the service cswpuppetd does not want to start:
> [ Nov 13 17:28:24 Leaving maintenance because disable requested. ]
> [ Nov 13 17:28:24 Disabled. ]
> [ Nov 13 17:29:04 Disabled. ]
> [ Nov 13 17:29:04 Rereading configuration. ]
> [ Nov 13 17:29:04 Enabled. ]
> [ Nov 13 17:29:04 Executing start method
> ("/var/opt/csw/svc/method/svc-cswpuppetd start") ]
> /var/opt/csw/svc/method/svc-cswpuppetd: /opt/csw/bin/puppet: cannot execute
> Starting Puppet client services:/var/opt/csw/svc/method/svc-cswpuppetd:
> /opt/csw/bin/puppet: cannot execute
>  puppetd
> [ Nov 13 17:29:04 Method "start" exited with status 0 ]
> [ Nov 13 17:29:05 Stopping because all processes in service exited. ]
> [ Nov 13 17:29:05 Executing stop method
> ("/var/opt/csw/svc/method/svc-cswpuppetd stop") ]
> /var/opt/csw/svc/method/svc-cswpuppetd: /opt/csw/bin/puppet: cannot execute
> Stopping Puppet client services:/var/opt/csw/svc/method/svc-cswpuppetd:
> test: argument expected
> [ Nov 13 17:29:05 Method "stop" exited with status 1 ]
>
> The zone has
> cat /etc/release
>Oracle Solaris 10 1/13 s10s_u11wos_24a SPARC
>   Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights
> reserved.
> Assembled 17 January 2013
>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com  'cvml', 'puppet-users%2bunsubscr...@googlegroups.com');>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/263d54f6-39af-40bd-945b-09196908618e%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAPGcbtAX-qpTWviK_2dy4osz1ZwZ%2BFVcd%2BfehFq1jjdCwczAdA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Puppet agent does not start in Solaris zone

2013-11-13 Thread Andreas Dvorak
Dear all

the puppet agent does not want to start on my first Solaris zone. I have 
already Puppet on x86 server running.
Can anybody please help me?

I have created a package for Solaris 10 Sparc to use the puppet agent on a 
Solaris zone.

/opt/csw/bin/pkgutil -a puppet
common   package  catalog
size
puppet   CSWpuppet2.7.23,REV=2013.08.15  728.3 
KB
puppet3  CSWpuppet3   3.3.1,REV=2013.10.22   980.4 
KB
puppetmaster CSWpuppetmaster  2.7.23,REV=2013.08.153.4 
KB
puppetmaster3CSWpuppetmaster3 3.3.1,REV=2013.10.22 2.2 
KB

from http://mirror.opencsw.org/opencsw/unstable

Command to create the package:
/opt/csw/bin/pkgutil --stream --target=sparc:5.10 --output 
CSWpuppet3_agent_sparc_3.3.1.pkg --yes --download CSWpuppet3

But the service cswpuppetd does not want to start:
[ Nov 13 17:28:24 Leaving maintenance because disable requested. ]
[ Nov 13 17:28:24 Disabled. ]
[ Nov 13 17:29:04 Disabled. ]
[ Nov 13 17:29:04 Rereading configuration. ]
[ Nov 13 17:29:04 Enabled. ]
[ Nov 13 17:29:04 Executing start method 
("/var/opt/csw/svc/method/svc-cswpuppetd start") ]
/var/opt/csw/svc/method/svc-cswpuppetd: /opt/csw/bin/puppet: cannot execute
Starting Puppet client services:/var/opt/csw/svc/method/svc-cswpuppetd: 
/opt/csw/bin/puppet: cannot execute
 puppetd
[ Nov 13 17:29:04 Method "start" exited with status 0 ]
[ Nov 13 17:29:05 Stopping because all processes in service exited. ]
[ Nov 13 17:29:05 Executing stop method 
("/var/opt/csw/svc/method/svc-cswpuppetd stop") ]
/var/opt/csw/svc/method/svc-cswpuppetd: /opt/csw/bin/puppet: cannot execute
Stopping Puppet client services:/var/opt/csw/svc/method/svc-cswpuppetd: 
test: argument expected
[ Nov 13 17:29:05 Method "stop" exited with status 1 ]

The zone has
cat /etc/release
   Oracle Solaris 10 1/13 s10s_u11wos_24a SPARC
  Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights 
reserved.
Assembled 17 January 2013



-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/263d54f6-39af-40bd-945b-09196908618e%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.