Project

General

Profile

Bug #2067

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

Added by David Schmitt over 6 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Puppet
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
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

Has duplicate Smart Proxy - Bug #2226: puppet proxy does not detect certain classesClosed2013-02-19

Associated revisions

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

fixes #2067 - disable puppet's handling of 'import' to fix manifests containing it

History

#1 Updated by Mark Heily over 6 years ago

I can reproduce this problem; see bug #2067

#2 Updated by Dominic Cleal over 6 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

#3 Updated by Mark Heily over 6 years ago

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

#4 Updated by Ohad Levy over 6 years ago

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

#5 Updated by Ohad Levy over 6 years ago

  • Category set to Puppet
  • Target version set to 26

#6 Updated by Dominic Cleal over 6 years ago

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

#7 Updated by Dominic Cleal over 6 years ago

  • Target version changed from 26 to 1.2.0

#8 Updated by Greg Sutcliffe about 1 year ago

  • Target version deleted (1.2.0)

Also available in: Atom PDF