[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5
Luke Kanies
luke at puppetlabs.com
Tue May 10 08:12:08 UTC 2011
The following commit has been merged in the experimental branch:
commit 8ec9d13b7e6885c2d18bc3b7c69a83ce5bf2f353
Author: Luke Kanies <luke at puppetlabs.com>
Date: Sat Apr 9 14:55:02 2011 -0700
Fixing FaceCollection#faces
We were still looking for faces in version
directories.
No changes to testing because the current test is pending.
Signed-off-by: Luke Kanies <luke at puppetlabs.com>
Reviewed-by: Daniel Pittman <daniel at puppetlabs.com>
diff --git a/lib/puppet/interface/face_collection.rb b/lib/puppet/interface/face_collection.rb
index 9f7a499..8429658 100644
--- a/lib/puppet/interface/face_collection.rb
+++ b/lib/puppet/interface/face_collection.rb
@@ -12,9 +12,7 @@ module Puppet::Interface::FaceCollection
$LOAD_PATH.each do |dir|
next unless FileTest.directory?(dir)
Dir.chdir(dir) do
- # REVISIT: This is wrong!!!! We don't name files like that ever,
- # so we should no longer match things like this. Damnit!!! --daniel 2011-04-07
- Dir.glob("puppet/faces/v*/*.rb").collect { |f| f.sub(/\.rb/, '') }.each do |file|
+ Dir.glob("puppet/faces/*.rb").collect { |f| f.sub(/\.rb/, '') }.each do |file|
iname = file.sub(/\.rb/, '')
begin
require iname
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list