Resource Type: websphere_jdbc_datasource

Defined in:
lib/puppet/type/websphere_jdbc_datasource.rb
Providers:
wsadmin

Overview

Manage the existence of a datasource

Properties

  • ensure (defaults to: present)

    Manage the existence of a datasource

    Supported values:
    • present
    • absent

Parameters

  • cell
  • cluster
  • component_managed_auth_alias
  • container_managed_persistence (defaults to: true)

    Use this data source in container managed persistence (CMP)

    Boolean: true or false

  • data_store_helper_class

    Example: ‘com.ibm.websphere.rsadapter.Oracle11gDataStoreHelper’

  • database

    The database name for DB2 and Microsoft SQL Server.

    This is only relevant when the ‘data_store_helper_class’ is one of:

    'com.ibm.websphere.rsadapter.DB2UniversalDataStoreHelper'
    'com.ibm.websphere.rsadapter.MicrosoftSQLServerDataStoreHelper'
    
  • db2_driver

    The driver for DB2.

    This only applies when the ‘data_store_helper_class’ is ‘com.ibm.websphere.rsadapter.DB2UniversalDataStoreHelper’

  • db_port

    The database server port.

    This is only relevant when the ‘data_store_helper_class’ is one of:

    'com.ibm.websphere.rsadapter.DB2UniversalDataStoreHelper'
    'com.ibm.websphere.rsadapter.MicrosoftSQLServerDataStoreHelper'
    
  • db_server

    The database server address.

    This is only relevant when the ‘data_store_helper_class’ is one of:

    'com.ibm.websphere.rsadapter.DB2UniversalDataStoreHelper'
    'com.ibm.websphere.rsadapter.MicrosoftSQLServerDataStoreHelper'
    
  • description

    A description for the data source

  • dmgr_profile

    The dmgr profile that this should be created under“ Example: dmgrProfile01”

  • jdbc_provider

    The name of the JDBC Provider to use.

  • jndi_name

    The JNDI name. This corresponds to the wsadmin argument ‘-jndiName’

    Example: ‘jdbc/foo’

  • name (namevar)

    The name of the datasource

  • node

    The name of the node to create this application server on

  • profile_base

    The base directory that profiles are stored. Basically, where can we find the ‘dmgr_profile’ so we can run ‘wsadmin’

    Example: /opt/IBM/WebSphere/AppServer/profiles“

  • provider

    The specific backend to use for this ‘websphere_jdbc_datasource` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.

  • scope

    The scope to manage the JDBC Datasource at. Valid values are: node, server, cell, or cluster

  • server
  • url

    JDBC URL for Oracle providers.

    This is only relevant when the ‘data_store_helper_class’ is:

    'com.ibm.websphere.rsadapter.Oracle11gDataStoreHelper'
    

    Example: ‘jdbc:oracle:thin:@//localhost:1521/sample’

  • user (defaults to: root)

    The user to run ‘wsadmin’ with

  • wsadmin_pass

    The password for wsadmin authentication

  • wsadmin_user

    The username for wsadmin authentication