lib/puppet_x/coi/jboss/provider/deploy.rb
# Method to deploy Java artifacts to JBoss server
Method to deploy Java artifacts to JBoss server
Method to deploy Java artifacts to JBoss server
def deploy
    cmd = "deploy #{@resource[:source]} --name=#{@resource[:name]}#{runtime_name_param_with_space_or_empty_string}"
    if @resource[:runasdomain]
      cmd = append_groups_to_cmd(cmd, @resource[:servergroups])
    end
    cmd = "#{cmd} --force" if force_deploy?
    display_lines 100
    bring_up 'Deployment', cmd
    @resource[:name]
  end
def deploy cmd = "deploy #{@resource[:source]} --name=#{@resource[:name]}#{runtime_name_param_with_space_or_empty_string}" if @resource [ :runasdomain ] cmd = append_groups_to_cmd ( cmd , @resource [ :servergroups ] ) end cmd = "#{cmd} --force" if force_deploy? display_lines 100 bring_up 'Deployment' , cmd @resource [ :name ] end
Method to deploy Java artifacts to JBoss server
Method to deploy Java artifacts to JBoss server