On Jul 13, 2010, at 5:20 PM, Jeff McCune wrote:

> On Tue, Jul 13, 2010 at 5:00 PM, Don Jackson
> <puppet-us...@clark-communications.com> wrote:
>> It seems like the package provider is not seeing that sudo is already 
>> installed….
>> How can I fix that?
>> 
>> Both my puppetmaster and puppetd are 0.25.5
> 
> Blastwave uses aliases for the "standard" sun formatted package names
> as a convenience.  Try adding the parameter name => "CSWsudo", to the
> resource declaration which is the actual non-aliased name of the
> blastwave sudo package if I remember correctly.

I spoke too soon, this is not working for me.

Here is the error message I get:

err: //base_server/Package[sudo]/ensure: change from absent to present failed: 
Execution of '/opt/csw/bin/pkg-get -f install CSWsudo' returned 1: ERROR: 
CSWsudo unrecognized
Perhaps you need to run pkg-get -U

And here is the revised source:

 package {'sudo':
              name => 'CSWsudo',
              ensure => 'installed',
              provider => 'blastwave',
              adminfile => '/usr/local/etc/adminfile',
            }

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to