Re: [Puppet Users] apt-get -t lenny-backports

2010-12-12 Thread Daniel Pittman
On Mon, Dec 13, 2010 at 06:44, Adrian Tofan wrote: > 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. > > Unfo

Re: [Puppet Users] apt-get -t lenny-backports

2010-12-12 Thread Adrian Tofan
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

Re: [Puppet Users] apt-get -t lenny-backports

2010-12-12 Thread Patrick
On Dec 11, 2010, at 11:59 PM, 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 ?

Re: [Puppet Users] apt-get -t lenny-backports

2010-12-12 Thread Olivier Le Cam
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 my

Re: [Puppet Users] apt-get -t lenny-backports

2010-12-11 Thread Ben
On 8/12/2010 9:54 PM, Adrian wrote: Hello everybody, 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 rubygem

Re: [Puppet Users] apt-get -t lenny-backports

2010-12-09 Thread Brice Figureau
On 09/12/10 19:19, Patrick wrote: > > On Dec 9, 2010, at 10:07 AM, Brice Figureau wrote: > >> On 09/12/10 03:38, Daniel Pittman wrote: >>> Sadly, no. I very much missed the feature. We ended up using the apt >>> preferences file to implement that behaviour >>> >>> If I was doing it over I would u

Re: [Puppet Users] apt-get -t lenny-backports

2010-12-09 Thread Patrick
On Dec 9, 2010, at 10:07 AM, Brice Figureau wrote: > On 09/12/10 03:38, Daniel Pittman wrote: >> Sadly, no. I very much missed the feature. We ended up using the apt >> preferences file to implement that behaviour >> >> If I was doing it over I would use a define that added the package >> resour

Re: [Puppet Users] apt-get -t lenny-backports

2010-12-09 Thread Brice Figureau
On 09/12/10 03:38, Daniel Pittman wrote: > Sadly, no. I very much missed the feature. We ended up using the apt > preferences file to implement that behaviour > > If I was doing it over I would use a define that added the package > resource and also used concat to automatically build up the prefer

Re: [Puppet Users] apt-get -t lenny-backports

2010-12-09 Thread Daniel Piddock
On 08/12/10 10:54, Adrian wrote: > Hello everybody, > > > 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

Re: [Puppet Users] apt-get -t lenny-backports

2010-12-09 Thread Patrick
On Dec 8, 2010, at 11:45 PM, Felix Frank wrote: > On 12/09/2010 05:13 AM, Patrick wrote: >> >> On Dec 8, 2010, at 6:38 PM, Daniel Pittman wrote: >> >>> Sadly, no. I very much missed the feature. We ended up using the apt >>> preferences file to implement that behaviour >>> >>> If I was doing i

Re: [Puppet Users] apt-get -t lenny-backports

2010-12-08 Thread Felix Frank
On 12/09/2010 05:13 AM, Patrick wrote: > > On Dec 8, 2010, at 6:38 PM, Daniel Pittman wrote: > >> Sadly, no. I very much missed the feature. We ended up using the apt >> preferences file to implement that behaviour >> >> If I was doing it over I would use a define that added the package >> resour

Re: [Puppet Users] apt-get -t lenny-backports

2010-12-08 Thread Patrick
On Dec 8, 2010, at 6:38 PM, Daniel Pittman wrote: > Sadly, no. I very much missed the feature. We ended up using the apt > preferences file to implement that behaviour > > If I was doing it over I would use a define that added the package resource > and also used concat to automatically build

Re: [Puppet Users] apt-get -t lenny-backports

2010-12-08 Thread Daniel Pittman
Sadly, no. I very much missed the feature. We ended up using the apt preferences file to implement that behaviour If I was doing it over I would use a define that added the package resource and also used concat to automatically build up the preferences entry. Regards, Daniel. On 09/12/2010 6:03 A

[Puppet Users] apt-get -t lenny-backports

2010-12-08 Thread Adrian
Hello everybody, 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 am