This content has been marked as final.
Show 1 reply
-
1. Re: JON 3.1 & Group Deployments Using CLI API
mriv Sep 3, 2013 4:44 PM (in response to mohammadwrk)Mohammand,
You want use this sample https://github.com/rafachies/rhq-samples/blob/master/cli/groupcontrol/scripts/deployToGroup.js
On line 156 you will want to change:
var realPackageType = ContentManager.findPackageTypes( appTypeName, "JBossAS" );
to
var realPackageType = ContentManager.findPackageTypes( appTypeName, "JBossAS6" );
Just make sure you are using the write appTypeName for which ever plugin you have depoyed.