Feature #1480

Smart variables unique per puppet class

Added by Daniel Maraio over 1 year ago. Updated about 12 hours ago.

Status:Closed Start:02/02/2012
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:Smart Variables
Target version:-
Backlog:No Difficulity:
Votes: 0

Description

Hello,

I noticed I was unable to make a smart variable of the same name in two different puppet classes. If we have to have a smart variable in the context of a puppet class then we should be able to have smart variables with the same name in different puppet classes.

History

Updated by Ohad Levy over 1 year ago

The main issue, is that as long as we are not using parametereized classes, all vars needs to be unique, as they are all exposed via the ENC as top scope vars.

Updated by Benjamin Papillon about 12 hours ago

  • Status changed from New to Closed

The statement for Smart Variables is still valid. But now you can use Parameterized Class you should be able to achieve what you wish.
Feel free to reopen if it is not working with Parameterized Class :)

Also available in: Atom PDF