On Mon, Nov 07, 2011 at 03:25:33AM -0800, David Campos wrote: > I tested the optional_command solution with success. The virtual > machine could be provisioned but the first time, any reference to the > asadmin provider failed even though the binary was present. I presume > that once the prefetch of providers has been done and failed, then > that type and provider become unusable at that provisioning. > > I am quite sure that the response to my next question will be 'no' but > I'll try anyway... It is possible to force a new binary check at each > provider or type execution? The first check would fail but > optional_command would handle it and at the real execution stage, the > check would be successful and the command would be executed. >
Can you please provide some debug output of your first puppetrun? In general I think that just ignoring prefetching is pretty bad because all resources are treated as initially absent (even though that might not be the case) so create is run for every resource. I thought that this is the behaviour we have right now, so some debug logs would be helpful. -Stefan
pgpa0kBbV1aWf.pgp
Description: PGP signature