On May 16, 2010, at 8:34 PM, Silviu Paragina wrote:
On 17.05.2010 03:58, Luke Kanies wrote:
Based on that, I'm going to switch the behaviour back, and see if I
can find a way to make it simpler usability-wise (e.g., right now
you can set the 'stage' for anything but it's just ignored unless
it's a class).
Sorry for disturbing the conversation, but in you patch, does puppet
reload facts or at least providers between stages? One cool, and
very very useful use would be a bootstrap stage which would make
sure augeas is installed and/or lsb-distrealease is installed (which
would allow facter to decide if the current system is a debian or
ubuntu one).
Puppet doesn't do anything in between stages, but provider validity
*shouldn't* be tested until a given resource attempts to actually use
that provider, so this should actually work fine in general.
If, however, you're relying on lsb-distrelease to provide facts but
you're installing it with Puppet, then that won't work, unfortunately.
--
I was an only child... eventually. -- Stephen Wright
---------------------------------------------------------------------
Luke Kanies -|- http://puppetlabs.com -|- +1(615)594-8199
--
You received this message because you are subscribed to the Google Groups "Puppet
Developers" 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-dev?hl=en.