[Puppet Users] Prompting fact refresh from Puppet Event

Trevor Vaughan
Wed, 15 Dec 2010 14:46:45 -0000

Is is possible to spawn a puppet fact refresh from the completion of an event?

Here''s the scenario:

64-bit system, either a 64 or 32 bit application ''foo'' could
be installed.

If the 64 bit version is installed, foo.conf needs to be configured
with a prepended lib64 path. If not, then the 32bit default is fine.

The only thing that I could come up with is a custom fact that returns
the architecture of the installed package and then adjust the path
based on that.

However, this takes *two* puppet runs to complete and I would like to
get this down to one run by prompting a fact refresh after the package
is installed.

Does anyone have any suggestions/techniques?

Thanks,

Trevor

--
Trevor Vaughan
Vice President, Onyx Point, Inc
(410) 541-6699
tvaughan@onyxpoint.com

-- This account not approved for unencrypted proprietary information --