Description of problem: I believe we should be able to choose puppet class while creating a Smart Variable. As of now we can do that after editing variable. Version-Release number of selected component (if applicable): How reproducible: Always Scenario 1: Steps to Reproduce: -> From Config -> Classes -> Class -> Smart Variables, create a new Smart Variable. Actual results: -> The smart variable is created in the same class from where we created it. Scenario 2: Steps: -> Edit the above created variable. And Change the Puppet Class it belongs to. Actual Result: This changes the puppet class of that smart variable. Expected results: we should be able to choose puppet class while 'creating' Smart Variable. Additional info:
I'm not sure being able to select a puppet class for a smart variable while being in a context of one puppet class wouldn't cause too much confusion. What about being able to create a smart variable from the list of smart variables? IMO that would make more sense and could be prepared for non-puppet smart variables.
Moving target to 6.3, as it would not make much sense until we have puppet-independent class variables
@Ivan, Good Suggestion ! I would vote for creating a smart var from Smart Variables list which will allow us to choose puppet class there itself.
Per 6.3 planning, moving out non acked bugs to the backlog
Upstream bug component is Configuration Management
Upstream bug component is Provisioning
Upstream bug component is Smart Variables
As per comment 6 this request has changed to allow creating a new smart variable from the smart variable list, which already has a bz: 1373447. *** This bug has been marked as a duplicate of bug 1373447 ***