Ask Your Question

Install a New Package Using Puppet 3.1.1 on Solaris 10?

asked 2013-05-07 17:30:36 -0600

Jeff Johnson gravatar image

updated 2013-05-07 17:32:28 -0600

I'm pretty new to Puppet and Solaris, and I'm running into an issue installing a package on a Solaris 10 VM using Puppet. As part of my testing, I wanted to see if I could install Java 6 update 43 on a Solaris 10 VM that only had Java 5 update 24. Shown below is the issue I'm having and my question.


Solaris Version: SunOS 5.10 Generic_142910-17 i386

Puppet Version: 3.1.1


It seems that if a package isn't already installed on Solaris, Puppet won't install it. Puppet throws the following ... (more)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-05-08 01:18:42 -0600

Stefan gravatar image

How should puppet know, if a package is brand-new? Puppet has to check if the package is already installed.

But this looks like a recent regression bug in the sun package provider because having a short glance at it puppet neither checks the returncode of the pkginfo command, nor does it parse the output for known error messages.

So if you can file a bug a, I'll try to look at the issue when I come home. When you file a bug, please drop the ticket number as a comment.

edit flag offensive delete link more


Thanks for your response, Stefan! I have created ticket 20629.

Jeff Johnson gravatar imageJeff Johnson ( 2013-05-08 13:10:00 -0600 )edit

fix should be released in 3.2.1. For reference:

Stefan gravatar imageStefan ( 2013-05-14 16:25:03 -0600 )edit

Great news - thanks for the update!

Jeff Johnson gravatar imageJeff Johnson ( 2013-05-14 17:10:41 -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


Asked: 2013-05-07 17:30:36 -0600

Seen: 912 times

Last updated: May 08 '13