Hi everybody,
thank you for advice. Unfortunately I didn't managed to do what I planed. In
fact I tried using Debian pinning which allowed me to upgrade ruby gems using
the -t option (manualy). -t was needed and I didn't managed to avoid it.
Unfortunately Debian's runbgems is highly modified. Using the upgraded rubygems
I couldn't install a gem called buildr only if I manually installed each of his
dependencies(more than 15 gems) in order to have the proper version.
All this took me one and half days of work (I am a Debian beginner). I am not
sure if Debian's policy is the good one, but it doesn't work for me. I simply
may not have the necessary skills for the moment.
In the mean time I modified my bootstrap script in order to install ruby and
rubygems from source (without apt-get). I really hope that a cleaner solution
exists and I am looking forward to find it ;)
Adrian
On 12 déc. 2010, at 08:59, Olivier Le Cam wrote:
> Hi -
>
> On 12/12/10 05:01, Ben wrote:
>>> Is there a way when installing a package like this :
>>>
>>> package { "rubygems":
>>> ensure => installed,
>>> }
>>>
>>> to pass -t parameter to apt-get in order to use a specific apt
>>> source ? EG : apt-get install -t lenny-backports rubygems
>>>
>>> Ideally I would not use exec ...
>
> I myself use exec... Another workaround is to specify the version of the
> package. For example:
>
> package { "varnish":
> ensure => "2.1.5639-1~svn",
> }
>
> HTH
>
> --
> Olivier
>
> --
> 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.