Bug #1309

Dashes in classnames cause class name termination.

Added by Steve Traylen about 3 years ago. Updated about 3 years ago.

Status:ClosedStart date:11/10/2011
Priority:NormalDue date:
Assigned To:Florian Koch% Done:

100%

Category:Puppet integration
Target version:0.4.1
Difficulty: Bugzilla link:
Found in release: Pull request:
Story points-
Velocity based estimate-

Description

Hi,

Between 0.4-0.1rc4 and 0.4-0.2 the way that foreman loads class names
from disk when the class name contains a '-' changed.

Previously we were importing bridged-network fine but this has now been truncated within foreman to bridged

I see from
http://projects.puppetlabs.com/issues/5268

that in fact '-'s in class names are probably best avoided and even illegal in
the first place so we should adapt anyway.

This may have been intentional to some extent in foreman to do this?

class-add.tiff - bridged-network being dropped and bridged being added. (112 KB) Steve Traylen, 11/10/2011 08:28 AM


Related issues

Related to Foreman - Bug #1299: foreman don't cut the () from puppet class names Closed 11/07/2011

Associated revisions

Revision e8164062
Added by Florian Koch about 3 years ago

fixes #1309 - add dashes '-' to allowed class names

Signed-off-by: Florian Koch <>

History

#1 Updated by Ohad Levy about 3 years ago

  • Assigned To changed from Ohad Levy to Florian Koch
  • Target version set to 1.0

this seems like a side affect of #1299

#2 Updated by Anonymous about 3 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

#3 Updated by Ohad Levy about 3 years ago

  • Target version changed from 1.0 to 0.4.1

Also available in: Atom PDF