Ask Your Question
1

Install a New Package Using Puppet 3.1.1 on Solaris 10?

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

Jeff Johnson gravatar image

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

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.

Environment

Solaris Version: SunOS 5.10 Generic_142910-17 i386

Puppet Version: 3.1.1

Problem

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
1

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

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 http://projects.puppetlabs.com/issues, 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

Comments

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

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

fix should be released in 3.2.1. For reference: http://projects.puppetlabs.com/issues/19760

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

Great news - thanks for the update!

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

Stats

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

Seen: 861 times

Last updated: May 08 '13