First:  I notice in the documentation you can have facts in
${module_path}/lib and in ${module_path}/facts.d.  What is the difference
between the two?

Second:  A module that I am writing as I type this is going to have some
custom facts to keep a system auditor I work with happy.  It "detects" the
existence of a package being installed along with the version if it is
installed.  Since the primary reason for the module is to install and
configure the package and from my understanding facts run before other
stuff is there a way to trigger a redo of the fact?

In other words:

Before puppet run:
              my-packge-installed = false
              my-package-version = null

<puppet runs>
              my-package-installed = true
              my-package-version = 0.5.0

I hope this makes some sort of sense.


-- 

Peter L. Berghold                       [email protected]

h <http://blog.berghold.net>ttp://science-fiction.berghold.net

-- 
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/CAArvnv1scK2dTAxMbLXb5QF%3D9ejZX9okK3OekJ5FcHaWj5qAFA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to