Thanks for the answers, but they raise more questions, if I may. 1. For puppet to make use of a .gemrc, should it be in root's homedir?
2, When Ashley states thatI can use "exec" to manage the install, I get it, but that begs the question of whether Package truly can't add arguments. Does anybody know. I'm not a Ruby guy at all, just a sysadmin in a ruby shop, so some of this is a bit new to me. Thanks, </edg> On Mon, Sep 22, 2008 at 9:42 PM, Brian Gupta <[EMAIL PROTECTED]> wrote: > > On Mon, Sep 22, 2008 at 8:52 PM, Blake Barnett <[EMAIL PROTECTED]> wrote: > > > > I'd also recommend using a .gemrc file (managed by puppet!) to add "-- > > no-rdoc --no-ri" since it's usually what everyone wants as the > > default, especially in production. > > > > -Blake > > > > On Sep 22, 2008, at 1:46 PM, Ashley Penney wrote: > > > >> > >> You could just do exec { "gem-install-mysql": command => "gem install > >> mysql --no-rdoc --no-ri -- --with-mysql-config=/usr/bin/mysql_config", > >> } > >> > >> Then you can rely on require => Exec["gem-install-mysql"] elsewhere. > >> > >> On Mon, Sep 22, 2008 at 2:15 PM, Ed Greenberg > >> <[EMAIL PROTECTED]> wrote: > >>> > >>> I need to do this in puppet: > >>> > >>> gem install mysql --no-rdoc --no-ri -- --with-mysql-config=/usr/bin/ > >>> mysql_config > >>> > >>> Not sure how to express any of the arguments to gem install in my > >>> puppet Package stanza. > >>> > >>> can somebody explain?, > >>> > >>>> > >>> > >> > >> > > > > > > > > > > > > > more ~/.gemrc > > update: -B 10 > install: -B 10 > gem: --no-ri --no-rdoc > > -- > - Brian Gupta > > http://opensolaris.org/os/project/nycosug/ > > http://www.genunix.org/wiki/index.php/OpenSolaris_New_User_FAQ > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---