On 11-09-24 06:17 PM, Denmat wrote:
> Hi,
> 
> The options available to you are:
>   * Try an exec that installs the package
>   * try pinning the resource and push that to your apt config
>   * try specifying version in the config

Using the backports version in the ensure parameter works, but you have
to manually and regularly change the version tag if you want to follow
upgrades. So this solution is only viable if you need the backports
version, but also need to stay at a fixed version.

Using the pinning mechanism works well. You just have to make sure you
let only the packages you want to come from backports. If you're lucky
enough to be using Squeeze, then you can simply drop a file in
/etc/apt/preferences.d (it's unavailable before squeeze)

> On 24/09/2011, at 8:06, Sébastien B. <[email protected]> wrote:
> 
>> Hello,
>>
>> with debian, provided you added backports.debian.org to your
>> sources.list, you can install some fresher packages (say iceweasel)
>> with the command
>>
>> apt-get install -t squeeze-backports iceweasel
>>
>> Is there anyway to do this using puppet ?
>>
>> Or maybe should I specify the required version of iceweasel. Maybe
>> puppet will be smart enough to notice this version is only available
>> from backports and install it ?
>>
>> Thank you from any help,
>>
>> Cheers
>> Sebastien
>>
>> -- 
>> 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.
>>
> 

-- 
Gabriel Filion

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