class assignment to nodes using command line
In my environment, we are controlling puppet runs a bit differently. we have tagged the available classes to nodes using node groups on PE console and running MCollective commands to trigger puppet run. In more different way, I have class version as tomcat1.3, tomcat1.4 etc.
E.g I have tagged tomcat1.3 class to webserver classification group and it's working fine. But it's a tedious job when I have tomcat1.4 class available and need to tag the new class to webserver and likewise 50 different node groups.
Is there any command available in PE to process class assignment using command line? I am sorry, if you find my question stupid. But this is my requirement and I am unable to find out a solution. I do not want to go with site.pp or hiera, command line is the only solution I am looking for.