Jira (PUP-8772) Using --confdir doesn't redirect other default directories
Title: Message Title Josh Cooper commented on PUP-8772 Re: Using --confdir doesn't redirect other default directories This is expected, though I understand it's a little awkward on Windows as everything is within a common prefix C:/ProgramData/PuppetLabs. In puppet there are 5 "root" directories and all settings are derived from them. If you only set conf dir, then the others will use the default locations. Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8772) Using --confdir doesn't redirect other default directories
Title: Message Title Glenn Sarti commented on PUP-8772 Re: Using --confdir doesn't redirect other default directories Ok, so I forgot about -vardir But even then, I still needed to redirect codedir, logdir and rundir using a minimal puppet.conf ECHO [main] > C:\foo\puppet.conf ECHO codedir=$confdir/code >> C:\foo\puppet.conf ECHO logdir=$vardir/log >> C:\foo\puppet.conf ECHO rundir=$vardir/run >> C:\foo\puppet.conf Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Jira (PUP-8772) Using --confdir doesn't redirect other default directories
Title: Message Title Glenn Sarti created an issue Puppet / PUP-8772 Using --confdir doesn't redirect other default directories Issue Type: Bug Affects Versions: PUP 5.5.1 Assignee: Unassigned Created: 2018/05/22 7:29 PM Priority: Normal Reporter: Glenn Sarti Puppet Version: 5.5.1 Puppet Server Version: N/A OS Name/Version: Windows 10 - 1803 Describe your issue in as much detail as possible… Describe steps to reproduce… Desired Behavior: When using the --confdir parameter the default locations for some directories are changed but not all. Repro On a fresh Windows node, download puppet agent Do NOT create a config file under c:\foo Run puppet config print --confdir C:\foo The following is output (I've removed any non-filebased settings) PS C:\Users\Administrator> puppet config print --confdir c:\foo agent_catalog_run_lockfile = C:/ProgramData/PuppetLabs/puppet/cache/state/agent_catalog_run.lock agent_disabled_lockfile =