Project

General

Profile

Actions

Bug #2067

closed

puppet:import:puppet_classes silently ignores classes when the .pp contains an "import" statement

Added by David Schmitt almost 12 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Puppet
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The init.pp in question looked like this:

import "implementation/*.pp"

class icinga(...) {
}

The class was not imported until I removed the import line.


Related issues 1 (0 open1 closed)

Has duplicate Smart Proxy - Bug #2226: puppet proxy does not detect certain classesClosed02/19/2013Actions
Actions #1

Updated by Mark Heily over 11 years ago

I can reproduce this problem; see bug #2067

Actions #2

Updated by Dominic Cleal over 11 years ago

  • Status changed from New to Ready For Testing
  • Assignee changed from Ohad Levy to Dominic Cleal
  • Target version set to 1.2.0

It's a one line fix if you want to test it locally:

https://github.com/theforeman/smart-proxy/pull/70

Actions #3

Updated by Mark Heily over 11 years ago

I can confirm that the fix works when I applied it manually.

Actions #4

Updated by Ohad Levy over 11 years ago

  • Project changed from Foreman to Smart Proxy
  • Category deleted (Importers)
  • Target version deleted (1.2.0)
Actions #5

Updated by Ohad Levy over 11 years ago

  • Category set to Puppet
  • Target version set to 26
Actions #6

Updated by Dominic Cleal over 11 years ago

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

Updated by Dominic Cleal over 11 years ago

  • Target version changed from 26 to 1.2.0
Actions #8

Updated by Greg Sutcliffe over 6 years ago

  • Target version deleted (1.2.0)
Actions

Also available in: Atom PDF