Ask Your Question

Can I install a local package in Solaris?

asked 2013-04-19 10:36:15 -0600

davecoronel gravatar image


I would like to install sudo on our Solaris 10 servers and I can't have all my servers connect to the Internet. So I was thinking of putting the Sun Freeware packages on my Puppet master and installing them on my agents. I'm still a Puppet beginner so I was wondering how I would go about doing this.


edit retag flag offensive close merge delete


I did a test by doing a simple manifest that does:

package { 'spider': ensure => installed, }

And I get :

err: /Stage[main]//Package[spider]/ensure: change from absent to present failed ...(more)

davecoronel gravatar imagedavecoronel ( 2013-04-19 10:52:56 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-04-19 11:09:38 -0600

davecoronel gravatar image

updated 2013-04-19 11:54:53 -0600

The solution is easy. I should have tested more before posting. Here is the manifest code that does it:

package { 'CSWspider':
    ensure => installed,
    source => '/var/opt/csw/pkgutil/packages/spider-1.1.1,REV=2006.11.18-SunOS5.8-sparc-CSW.pkg'
edit flag offensive delete link more


For the record, I ended up following a blog post from Andy Botting that explains how to configure Puppet to use pkgutil to install the packages and resolve dependencies just ...(more)

davecoronel gravatar imagedavecoronel ( 2013-04-19 15:48:40 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-04-19 10:36:15 -0600

Seen: 856 times

Last updated: Apr 19 '13