Bug #917

regression: "Could not find resource type class"

Added by David Schmitt over 4 years ago. Updated over 4 years ago.

Status:Closed Start date:
Priority:Normal Due date:
Assignee:Luke Kanies % Done:

0%

Category:language
Target version:0.24.0
Affected Puppet version:0.25.4 Branch:
Keywords:
Votes: 0

Description

Current git fails to recognize “Class[]” type dependencies.

The attached testcase works with 0.23.2, but not with git HEAD:

david@zion:~/Work/puppet/puppet$ ls /tmp/foo/
bar
david@zion:~/Work/puppet/puppet$ git checkout 0.23.2
HEAD is now at 49c9a62... Adding release tag REL_0_23_2
david@zion:~/Work/puppet/puppet$ RUBYLIB=./lib/ ./bin/puppet --verbose ~/tmp/class_test.pp
david@zion:~/Work/puppet/puppet$ git checkout origin/HEAD
HEAD is now at 9311bdd... Applying patch by trombik from #756.
david@zion:~/Work/puppet/puppet$ RUBYLIB=./lib/ ./bin/puppet --verbose ~/tmp/class_test.pp
Could not find resource type class at /home/david/tmp/class_test.pp:7
david@zion:~/Work/puppet/puppet$ 

class_test.pp (143 Bytes) David Schmitt, 11/26/2007 10:35 am

History

Updated by Luke Kanies over 4 years ago

  • Status changed from 1 to 2

Updated by Luke Kanies over 4 years ago

  • Status changed from 2 to Closed
  • 7 set to fixed

Fixed in commit:c6d1746199c043c833a34393faa10d0a960f201a and commit:11ae473e3852adcc382a3efea2329586d2e4bcb3.

Also available in: Atom PDF