Ask Your Question
0

puppetlabs folder in c:/programdata

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

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
0

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

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

Comments

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 -0500 )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

Stats

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

Seen: 616 times

Last updated: Jul 08 '16