lib/puppet_x/coi/jboss/provider/deploy.rb
# Method calls read-resource to validate if deployment resource is present
Method calls read-resource to validate if deployment resource is present
Method calls read - resource to validate if deployment resource is present
def name_exists?
    ensure_data_loaded
    return false unless @exist
    unless @data['name'].nil?
      Puppet.debug "Deployment found: #{@resource[:name]}"
      return true
    end
    Puppet.debug "No deployment matching #{@resource[:name]} found."
    false
  end
def name_exists? ensure_data_loaded return false unless @exist unless @data [ 'name' ] . nil? Puppet . debug "Deployment found: #{@resource[:name]}" return true end Puppet . debug "No deployment matching #{@resource[:name]} found." false end
Method calls read-resource to validate if deployment resource is present
Method calls read - resource to validate if deployment resource is present