lib/puppet_x/coi/jboss/provider/deploy.rb
# Method that checks actual server group to deploy the archive
Method that checks actual server group to deploy the archive
Method that checks actual server group to deploy the archive
def servergroups
    return @resource[:servergroups] unless @resource[:runasdomain]
    return @servergroups unless @servergroups.nil?
    state = execute("deployment-info --name=#{@resource[:name]}")
    return [] unless state.success?
    @servergroups = read_groups_from_output(state.output)
  end
def servergroups return @resource [ :servergroups ] unless @resource [ :runasdomain ] return @servergroups unless @servergroups . nil? state = execute ( "deployment-info --name=#{@resource[:name]}" ) return [ ] unless state . success? @servergroups = read_groups_from_output ( state . output ) end
Method that checks actual server group to deploy the archive
Method that checks actual server group to deploy the archive