Issue #14074 has been reported by Jeff McCune. ---------------------------------------- Bug #14074: libdir setting is honored on the command line but not in puppet.conf https://projects.puppetlabs.com/issues/14074
Author: Jeff McCune Status: Unreviewed Priority: Normal Assignee: Daniel Pittman Category: modules Target version: 2.7.x Affected Puppet version: Keywords: libdir puppet.conf defaults settings Branch: # Overview # In order to work around #14073 I've explicitly set the libdir in puppet.conf like so: <pre> [main] server=puppet pluginsync=true autoflush=true modulepath=Z:/vagrant/modules libdir=Z:/vagrant/modules/registry/lib </pre> However, this doesn't have the desired effect: # Expected Behavior # This command should list registry_key and registry_value in the output: <pre> C:\>puppet describe --list ... registry_key - .. no documentation .. registry_value - .. no documentation .. </pre> # Actual Behavior # The types are loaded as they should. They are not automatically loaded. However, specifying libdir on the command line does in fact make the types and providers available: <pre> puppet describe --libdir=Z:/vagrant/modules/registry/lib --list ... registry_key - .. no documentation .. registry_value - .. no documentation .. </pre> As a result, there's a clear disconnect between the behavior of libdir specified on the command line versus the behavior of libdir specified in puppet.conf. # Impact Data # Until #14073 is resolved, there is no easy work around to get types to automatically load from modules using Puppet Apply. The command line options must be used instead of puppet.conf, or RUBYLIB or some other hack to the $LOAD_PATH must be employed. I haven't heard of any users or customers reporting this yet. -- 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.
