1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)

Preparing Solaris 11 for Chef, especially Chef Kitchen(Ruby Gem’s)

For Solaris 11 to be able to run / use Chef Kitchen, you might need to follow the below installation perpetrations.
Note: The notes below extend the article – Using chef kitchen docker build behind corporate proxy firewall
pkg install ruby
           Packages to install:  2
           Mediators to change:  1
       Create boot environment: No
Create backup boot environment: No

DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                                2/2   14659/14659    14.5/14.5  362k/s

PHASE                                          ITEMS
Installing new actions                   14737/14737
Updating package state database                 Done
Updating package cache                           0/0
Updating image state                            Done
Creating fast lookup database                   Done
Updating package cache                           2/2
To get the Solaris 11 ruby up-to-date, you need to run the below.
gem update --system
Note: If you get the below error, you will have to manually update the system described below.
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
    SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (
Manually updating the ruby system.
gem install --local /tmp/rubygems-update-2.6.7.gem
RubyGems 2.6.7 installed
Parsing documentation for rubygems-2.6.7
Installing ri documentation for rubygems-2.6.7

=== 2.6.7 / 2016-09-26
[..] snip
Finally, install bundler. to install, just run the below.
gem install bundler
# or 
gem install bundler -s
gem install test-kitchen
Fetching: mixlib-shellout-2.2.7.gem (100%)
Successfully installed mixlib-shellout-2.2.7
[..] snip
Note: In solaris add this to your system PATH, in Linux its usually not necessary.
0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x
%d bloggers like this: