You need to tell Puppet to manage both a gem and an RPM.  Adding
'provider => gem' to the appropriate package declaration will do that.

Best

J.

2009/9/4 Matt Delves <m.del...@ballarat.edu.au>:
>
> Hey Folks,
> Let me first setup the scenario. I have a server (managed via puppet)
> that runs a mysql database.
>
> The problem is that I currently have the mysql package installed as an
> rpm via puppet, though I'm also wanting to use puppet to manage the
> mysql ruby gem. Unfortunately when I do this, puppet complains with the
> following error:
> ArgumentError: Duplicate definition: Package[mysql] is already defined
>
> Is there a way to get around this?
>
> Thanks,
> Matt Delves
>
>
> >
>



-- 
Julian Simpson
Software Build and Deployment
http://www.build-doctor.com

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