Actions
Feature #1480
closedSmart variables unique per puppet class
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Parameters
Target version:
-
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.
Updated by Ohad Levy almost 13 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.
Updated by Benjamin Papillon over 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