Storing facts in a database
Is it a common practice to store node "facts" in a database, particularly if they are values that are set by administrators? I have a customer with existing configuration settings per node already in a database and it would be very handy to figure out a way for puppet to use them.
For my understanding of facts, it seems like facts are sent from the client to the puppetserver. I would much prefer if the puppetserver could set these facts themselves, so the client wouldn't have to.
Is there a way to have "puppetserver-side" facts for hosts? Perhaps the puppetserver could populate the node's facts inside of the ENC script or something? I want this fact populate so that it can be used within hiera lookups.