Ask Your Question
0

pluginsyncdest vs. windows expected external facts location

asked 2016-04-26 18:04:05 -0500

tek0011 gravatar image

updated 2016-04-26 18:06:03 -0500

I am curious why the default pluginsyncdest directory, for windows is:

https://docs.puppet.com/puppet/latest...

pluginfactdest
Where Puppet should store external facts that are being handled by pluginsync

Default: $vardir/facts.d

yet this doc says, that is not where external facts should go for windows:

https://docs.puppet.com/facter/latest...

On Windows:

C:\ProgramData\PuppetLabs\facter\facts.d\

Wouldnt it then make sense that the defualt pluginsyncdest for windows should be C:\ProgramData\PuppetLabs\facter\facts.d\ ? Thus, new external facts would be pushed before a puppet run, and not require someone to physically put the file there or edit puppet.conf to point there, then run puppet again to get the actual fact?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-05-02 19:09:18 -0500

WhatsARanjit gravatar image

Actually, external facts that you put on the system (through provisioning or otherwise) go in the directories you see on that doc. The pluginfactdest is the folder to which the Puppet master will copy all module facts.d/* to. So for example, on Linux, you can put your facts from our AWS provisioning here:

/etc/puppetlabs/facter/facts.d

But external facts that come from modules go here:

/opt/puppetlabs/puppet/cache/facts.d

Same goes for Windows. You can put facts through other processes here:

C:/ProgramData/PuppetLabs/facter/facts.d

But pluginsync will copy everything module-related to:

C:/ProgramData/PuppetLabs/puppet/var/facts.d

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2016-04-26 18:04:05 -0500

Seen: 19 times

Last updated: May 02 '16