I'd like to pass command line options for a package installed via a
gem provider.  In particular, I'm updating puppet, the equivalent
command would be:

    /usr/bin/gem1.8 install puppet -v=2.6.1 --no-rdoc --no-ri

(The extra docs that gets installed with puppet take WAY too long and
are unnecessary on production).  I'm running a very simple "self-
update" of Puppet per this thread:
http://groups.google.com/group/puppet-users/browse_thread/thread/cb26b8973bc70925
like so:

    class puppet ($version) {
            package { "puppet": ensure => $version, provider => gem }
    }

How do I pass command line options?  Do I need to create a custom
provider?  My guess is I'll probably end up using an "exec" resource
with an onlyif condition.

Thanks,
-Andy

-- 
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