Puppet Function: ora_config::available_sids

Defined in:
lib/puppet/functions/ora_config/available_sids.rb
Function type:
Ruby 4.x API

Overview

ora_config::available_sids()Array

See the file “LICENSE” for the full license governing this code.

This function will return an array of all sids registered in the ora_settings file

Returns:

  • (Array)


8
9
10
11
12
13
14
15
16
17
18
# File 'lib/puppet/functions/ora_config/available_sids.rb', line 8

Puppet::Functions.create_function('ora_config::available_sids') do
  dispatch :available_sids do
    return_type 'Array'
  end

  def available_sids
    require_relative '../../../puppet_x/enterprisemodules/oracle/utilities'
    extend PuppetX::EnterpriseModules::Oracle::Settings
    database_sids
  end
end