I have tried this solution as well and it did not work.  I may resort
to an exec as Patrick suggested.
thnx..
Hernan

On Wed, Jul 7, 2010 at 6:12 AM, Gustavo Soares <[email protected]> wrote:
> I don't think that it should work.
> I have a similar a problem when I want to manage to gems with different
> versions.. I have tried something like this:
>  package { "memcached-0.18.0":
>    name => "memcached",
>    provider => gem,
>    ensure => "0.18.0"
>  }
> package { "memcached-0.20.0":
>    name => "memcached",
>    provider => gem,
>    ensure => "0.20.0"
>  }
>
> and it didn't work :(
> Cheers,
> Gus
> On Fri, Jul 2, 2010 at 1:24 PM, Darren Chamberlain <[email protected]>
> wrote:
>>
>> * hernan <hernan.silberman at gmail.com> [2010/06/30 17:02]:
>> > I'm building a puppet manifest for an Ubuntu machine that needs to
>> > have both of these on it:
>> >
>> >   package { "memcached":
>> >     provider => gem,
>> >     ensure => "0.18.0"
>> >   }
>> >
>> >   package { "memcached":
>> >     provider => apt,
>> >     ensure => installed
>> >   }
>>
>> I think this should work:
>>
>>  package { "memcached-gem":
>>    name => "memcached",
>>    provider => gem,
>>    ensure => "0.18.0"
>>  }
>>
>>  package { "memcached-apt":
>>    name => "memcached",
>>    provider => apt,
>>    ensure => installed
>>  }
>>
>> --
>> Time passes, but love remains.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Puppet Users" group.
>> To post to this group, send email to [email protected].
>> 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.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to [email protected].
> 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.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
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.

Reply via email to