Project

General

Profile

Bug #2099

$confdir not interpolated in puppet modulepath during class import

Added by Dominic Cleal over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Puppet
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Reported in #2085:

When $confdir variable is used in puppet.conf, no environment is available at all - rake puppet:import:puppet_classes RAILS_ENV=production returns empry array.
Sample string in puppet.conf from Puppet Docs: modulepath = $confdir/environments/$environment/modules:$confdir/modules

http://docs.puppetlabs.com/guides/environment.html

Associated revisions

Revision ce3bbf11 (diff)
Added by Dominic Cleal over 6 years ago

fixes #2099 - interpolate $confdir if $environment not used

Revision 4e24d8c8 (diff)
Added by Raffael Schmid over 6 years ago

fixes #2099 - fix handling of multiple module paths

Replace every occurrence of $confdir, not only the first one

History

#1 Updated by Dominic Cleal over 6 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 1.1

#2 Updated by Dominic Cleal over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF