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

Nigel Kersten nigel at explanatorygap.net
Wed Jun 17 15:28:11 UTC 2009


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", }





More information about the Pkg-puppet-devel mailing list