lib/puppet_x/coi/jboss/provider/jmsqueue.rb
# Method to check if there is jms-queue. Methods calls read-resource to validate if jms-queue is present.
Method to check if there is jms-queue. Methods calls read-resource to validate if jms-queue is present.
Method to check if there is jms - queue . Methods calls read - resource to validate if jms - queue is present .
def exists?
    result = loaddata
    unless result[:result]
      Puppet.debug 'JMS Queue do not exists'
      return false
    end
    true
  end
def exists? result = loaddata unless result [ :result ] Puppet . debug 'JMS Queue do not exists' return false end true end
Method to check if there is jms-queue.
Method to check if there is jms - queue .