On 11/20/2014 03:54 PM, Spriya wrote:
> Hi,
> 
> i made a custom fact, I am doing this because my manger wants an alert
> if the value doesnt match or changed by comparing with the external and
> the values we are comparing with the facts should be from a txt file not
> writing the values directly in the .pp file
> 
> Can you give me any suggestion?

In this case, I'd write a simple bash plugin for your monitoring
solution of choice, make Puppet distribute that and use monitoring to
keep track of the version match.

This script would use your fact via `facter -p`, or reimplement its
logic, so that you can do away with the fact.

HTH,
Felix

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/546E1104.9060505%40alumni.tu-berlin.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to