Re: [Puppet Users] Re: Provider requires package to work

2011-01-27 Thread Jakub Pastuszek
STRICTLY PRIVATE, CONFIDENTIAL AND PRIVILEGED COMMUNICATION. This message (including attachments) may contain information that is privileged, confidential or protected from disclosure. They are intended solely for the use of the intended recipient. If you are not the intended recipient, you are

Re: [Puppet Users] Re: Provider requires package to work

2011-01-27 Thread Nigel Kersten
On Thu, Jan 27, 2011 at 8:32 AM, Jakub Pastuszek jpastus...@newbay.com wrote: It would be probably better if Puppet initialized providers on demand (lazy). This way I would require that this package is installed before using the resource. Yes. I'll try and find the bug, but that's

[Puppet Users] Re: Provider requires package to work

2011-01-26 Thread donavan
On Jan 26, 1:58 am, Jakub Pastuszek jpastus...@newbay.com wrote: Is it possible to tell Puppet to ensure a package is installed before using a custom provider that needs it for operation? Or I need to make sure that base OS contains all the commands that any provider may ever need? I seem to

[Puppet Users] Re: Provider requires package to work

2011-01-26 Thread donavan
On Jan 26, 9:20 pm, donavan dona...@desinc.net wrote: A common pattern to work around this is to use a 'boot strap' when provisioning a node. This boot strap only contains enough resources to get the machine, and puppet, to a workable state. After that a second 'full' run is done which applies