On 09/21/2012 01:35 PM, Peter Spatz wrote:
> Hello,
>
> first, i�m new to puppet. I�m searching for a configuration management
> tool and puppet was in focus.
> I�m using Solaris Zone
> SunOS: 5.10 Generic_147440-15 sun4v sparc sun4v
> Ruby: ruby 1.8.5 (2006-12-04 patchlevel 2) [sparc-solaris2.10]
> puppet: v3.0.0-rc6
> /lib:/usr/lib:/opt/coolstack/mysql_32bit/bin/:/opt/coolstack/mysql_32bit/lib/:/usr/local/lib:/opt/sfw/lib/ruby/:/usr/local/ss/lib/
>
> Starting puppet master, syslog prints:
>
> Sep 21 13:24:55 sis102f0 puppet-master[9649]: [ID 702911 daemon.debug]
> Finishing transaction 6891204
> Sep 21 13:24:55 sis102f0 puppet-master[9649]: [ID 702911
daemon.info]
> Creating a new SSL certificate request for ca
> Sep 21 13:24:55 sis102f0 puppet-master[9649]: [ID 702911 daemon.error]
> Could not prepare for execution: uninitialized constant
> OpenSSL::Digest::SHA256
>
> What�s missing?
First, what does the:
$ which ruby
says?
Then try this:
$ ruby -ropenssl -e 'p OpenSSL::Digest::Digest.new("sha256")'
and this:
$ ruby -e "puts require('openssl')"
And then report back with output.
Also, that being Solaris, check whether you have more than one ruby
installations on system and if you are using the right one...
--
Jakov Sosic
www.srce.unizg.hr