Issue #12390 has been updated by Daniel Pittman.

Status changed from Accepted to Rejected

In that case I don't think there is a substantial problem here.  The runmode 
when you *don't* specify a subcommand is happily in the world of "undefined 
behaviour", and we do the right thing when you do say what you want to act as.

(Actually, probably undefinable, because you can reasonable argue that all of 
master, agent, and apply are sensible defaults there.)

If someone can name a concrete problem this introduces, we can tackle this, but 
otherwise we should just discourage users from this risky area.
----------------------------------------
Bug #12390: modulepath not read in [master] in puppet.conf
https://projects.puppetlabs.com/issues/12390

Author: James Turnbull
Status: Rejected
Priority: Normal
Assignee: Daniel Pittman
Category: plumbing
Target version: 
Affected Puppet version: 2.7.9
Keywords: 
Branch: 


Platform: Ubuntu 10.04
Puppet: Tested 2.7.9, 2.7.10 and PE 2.0.1

To replicate run:

<pre>
$ sudo puppet --configprint modulepath
</pre>

Working  puppet.conf:

<pre>
[main]
    modulepath = 
/etc/puppetlabs/puppet/modules:/opt/puppet/share/puppet/modules:/tmp
[master]
</pre>

<pre>
$ sudo puppet --configprint modulepath
/etc/puppet/modules:/usr/share/puppet/modules
</pre>

Should return - 
/etc/puppetlabs/puppet/modules:/opt/puppet/share/puppet/modules:/tmp

Fixed if I do:

<pre>
[main]
[master]
    modulepath = 
/etc/puppetlabs/puppet/modules:/opt/puppet/share/puppet/modules:/tmp
</pre>


<pre>
$ sudo puppet --configprint modulepath
/etc/puppet/modules:/usr/share/puppet/modules:/tmp
</pre>



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