2009/6/9 Jayen Ashar <ja...@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", }



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to