Hi Gary,
Thanks for the response.  That did it :)

Tim

On Thu, Jan 8, 2009 at 3:08 AM, gary <garyy...@gmail.com> wrote:

>
> Hello Tim,
>
> I ran into the same issue and Joshua suggested using an exec. It works
> great. I may also change all my gem installs to use this since the
> package provider also tries to install again if there's multiple
> versions. Like with
>
> capistrano (2.5.3, 2.1.0). <- can't tell 2.1.0 is installed.
>
>
> http://groups.google.com/group/puppet-users/browse_thread/thread/6d4429c33bbdbb1d/cdc8c00b50b51eb9#cdc8c00b50b51eb9
>
> I also found an old bug for this same issue. And another one about not
> being able to provide arguments to gem install.
>
> http://projects.reductivelabs.com/issues/show/1398
> http://projects.reductivelabs.com/issues/show/1597
>
> Gary
>
> On Jan 1, 1:13 am, "Tim Harper" <timchar...@gmail.com> wrote:
> > Well, apparently nobody knows an easy solution.<div><br></div><div>I
> > ended up create my own ruby-enterprise-mysql rpm package, and all my
> > troubles went away.  (though this is still an issue I'd like to know
> > the answer to).</div><div><br></div><div>Tim<br><br><div
> > class="gmail_quote">On Tue, Dec 30, 2008 at 8:36 AM, Tim Harper
> <spandir="ltr">&lt;timchar...@gmail.com <lt%3btimchar...@gmail.com>></span>
> wrote:<br><blockquote
> >
> > class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc
> > solid;padding-left:1ex;"><p>I'm running in to an issue where I want to
> > install agemnamed "mysql" and an rpm named "mysql".  Puppet
> > complains about this when I've got bot directives in there, saying
> > Package['mysql'] is already defined.</p>
> >
> > <p>I've tried using the alias command to alias them as mysql-rpm, and
> > mysql-gem.  Puppet still complained about Package['mysql'] being
> > defined twice.  Also tried this:</p>
> > <p>package { "mysql-gem": name => "mysql", provider =>gem...<br>
> > package { "mysql-rpm": name => "mysql", provider => yum ...</p>
> > <p>This also complained.  Does anyone suggestions on how to overcome
> > this?  Can I use a suffix of somekind specific to the package
> > attributes (like arch or version) to help puppet distinguish between
> > the two.. or do I need to write my own "gem" type definition?</p>
> >
> > <p>Thanks!</p>
> > <p>Tim</p>
> > </blockquote></div><br></div>
> >
>

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