Ask Your Question

puppetlabs folder in c:/programdata

asked 2016-07-05 11:49:43 -0600

puppetamateur gravatar image

during the installation of standalone Puppet agent, the puppet installation creates a folder in C:/ProgramData/Puppetlabs. Is there a way to change the directory for this folder during installation? there was only install dir mentioned. How do I change the directory for this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-07-08 11:25:30 -0600

joshc gravatar image

The data directory (C:\ProgramData\PuppetLabs) is not configurable as making it so would present a catch-22. Puppet would need to load puppet.conf to find the data directory, but it needs to know the data directory to find its puppet.conf.

Alternatively the application, e.g. C:\Program Files\Puppet Labs\puppet\bin\puppet, could specify the data directory, and allow it to be overridden, but then every puppet-based application would need to have the same logic, e.g. mcollectived, puppet-access, etc.

I'm curious why you are wanting to change the data directory?

edit flag offensive delete link more


I need to run puppet on servers where I might not have access to c:. I installed the puppet in E: but the program data files cannot be moved. Thus, was wondering if I could change it. Thanks for the help!

puppetamateur gravatar imagepuppetamateur ( 2016-07-11 18:51:53 -0600 )edit

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2016-07-05 11:49:43 -0600

Seen: 676 times

Last updated: Jul 08 '16