How to generate catalog with external facts?
I have a puppet directory with all necessary stuff in it:
. ├── manifests │ └── site.pp └── modules ├── concat ├── git └── wget
And I'd like to generate a catalog for a certain node without having to actually launch puppetmaster server. ideally for all of them, but I should manage to get list of all and then run the command for each.
I found a way how to generate a catalog:
puppet master --compile <node-name> --confdir=. --vardir=.
but it's failing due to missing facts like
Puppet is correctly looking for facts in
$> puppet master --confdir=. --vardir=. --configprint ...