[Pkg-puppet-devel] Bug#532398: trying to pull packages from backports may introduce 'dependency hell'

Jayen Ashar jayen at unsw.edu.au
Thu Jun 18 04:50:32 UTC 2009


How about changing it to a wishlist item to make aptitude the default?

On 18/06/09 14:48, Andrew Pollock wrote:
> On Thu, Jun 18, 2009 at 11:53:23AM +1000, Jayen Ashar wrote:
>> Thanks Nigel!  That did the trick!
>>
>> I kept searching for "package defaults", "provider defaults", and "type 
>> defaults".  Didn't expect it to be a "resource default".  I also thought 
>> it would be in the puppetd.conf, so didn't think to check the language 
>> tutorial.
>>
>> I hope aptitude becomes the default for debian, since it's a little bit 
>> of a hassle to do things like this with apt-get.
> 
> Okay, so I think there's no actual bug here, so I'm closing this.
>  
>> Thanks,
>> Jayen
>>
>> On 18/06/09 01:28, Nigel Kersten wrote:
>>> 2009/6/9 Jayen Ashar <jayen at science.unsw.edu.au>:
>>>> Matthew Palmer wrote:
>>>>> On Wed, Jun 10, 2009 at 10:44:46AM +1000, Jayen Ashar wrote:
>>>>> Default the provider for the Package type to be aptitude.  There's docs 
>>>>> on
>>>>> that.
>>>> I really can't find them.  I've search for "default provider" (and 
>>>> variants)
>>>> and still can't find it.  All I can find are things saying puppet chooses 
>>>> a
>>>> default provider, based on the os.  I can't actually find the name nor
>>>> location of a global setting.  Could you please provide a pointer?  
>>>> Thanks.
>>> (you'd get a faster response on the puppet-users list upstream)
>>>
>>> You really should go through the Language Tutorial. It answers this 
>>> question.
>>>
>>> http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#resource-defaults
>>>
>>> So here is how you would set an individual package:
>>>
>>> package { "foo":
>>>  provider => "aptitude",
>>>  ...
>>> }
>>>
>>> and here is how you would set it as a default for all packages (unless
>>> overridden in an individual package resource definition)
>>>
>>> Package { provider => "aptitude", }
>> -- 
>> Jayen Ashar
>> Free Software Apostle (Linux SysAdmin)
>> Computing Center
>> School of Mathematics and Statistics
>> M029, Red Center
>> The University of New South Wales SYDNEY NSW 2052
>> Ph: + 61 (2) 93857016
>> Fax: + 61 (2) 93857192
>> CRICOS provider code: 00098G
>>
>>
>>
>> _______________________________________________
>> Pkg-puppet-devel mailing list
>> Pkg-puppet-devel at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/pkg-puppet-devel
>>

-- 
Jayen Ashar
Free Software Apostle (Linux SysAdmin)
Computing Center
School of Mathematics and Statistics
M029, Red Center
The University of New South Wales SYDNEY NSW 2052
Ph: + 61 (2) 93857016
Fax: + 61 (2) 93857192
CRICOS provider code: 00098G





More information about the Pkg-puppet-devel mailing list