Issue #15214 has been updated by eric sorenson.

Status changed from Unreviewed to Accepted
Assignee set to Andrew  Parker

We need to ascertain whether the recent pluginsync / loading fixes supercede 
Chris' work here, or whether it should still be incorporated. Andy and I 
reviewed this and #1, #2, #4 might still be necessary.
----------------------------------------
Bug #15214: Get rid of coupling between run_mode and confdir/vardir
https://projects.puppetlabs.com/issues/15214#change-68726

Author: Chris Price
Status: Accepted
Priority: Normal
Assignee: Andrew  Parker
Category: 
Target version: 3.0.0
Affected Puppet version: 
Keywords: 
Branch: 


We have an ordering issue in the current code, because the default values for 
confdir and vardir are specified based on the run_mode setting, which is 
specified by individual applications.  However, we need to know where our 
config dir and libdir are before we can even try to load an application.  This 
introduces some very confusing and brittle ordering issues in bootstrapping 
puppet command line apps.

A potential fix is here:

https://github.com/cprice-puppet/puppet/commit/b064ee637b93d45483444274e15f5edf4ded3c75

Which is included in the pull request:

https://github.com/puppetlabs/puppet/pull/882



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to