Hi,
I am using following code snippet in one of the init.pp file of puppet
master to load the updated facts in "facts.yaml" available in
"C:\marionette-collective\etc\" folder.
file { "c:/marionette-collective/etc/facts.yaml":
loglevel => debug,
content => inline_template("
Amrit, since you are deploying it as a file resource, it has to be deployed
to the agent before it will be used. You could instead add the fact to your
module, where plugin sync will push it to the agent before it collects
facts, which means it is there on the first facts run. See
https://docs.pupp
Hi,
I am using following code snippet in one of the init.pp file of puppet
master to load the updated facts in "facts.yaml" available in
"C:\marionette-collective\etc\" folder.
file { "c:/marionette-collective/etc/facts.yaml":
loglevel => debug,
content => inline_template("<%= s