Project

General

Profile

Actions

Feature #1480

closed

Smart variables unique per puppet class

Added by Daniel Maraio over 12 years ago. Updated almost 11 years ago.

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

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.

Actions #1

Updated by Ohad Levy about 12 years 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.

Actions #2

Updated by Benjamin Papillon almost 11 years 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 :)

Actions

Also available in: Atom PDF