Resource Type: websphere_jdbc_provider

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

Overview

Manages the existence of a WebSphere JDBC provider.

The current provider does not manage parameters post-creation.

Properties

  • ensure (defaults to: present)

    Valid values: ‘present`, `absent`

    Defaults to ‘present`. Specifies whether this provider should exist or not.

    Supported values:
    • present
    • absent

Parameters

  • cell

    Required. The cell that this provider should be managed under.

  • classpath

    The classpath for this provider. This corresponds to the wsadmin argument “-classpath”

    Examples:

    "${ORACLE_JDBC_DRIVER_PATH}/ojdbc6.jar"
    "${DB2_JCC_DRIVER_PATH}/db2jcc4.jar ${UNIVERSAL_JDBC_DRIVER_PATH}/db2jcc_license_cu.jar"
    

    Consult IBM’s documentation for valid classpaths.

  • cluster

    Required if ‘scope` is cluster.

  • dbtype

    The type of database for the JDBC Provider. This corresponds to the wsadmin argument “-databaseType” Examples: DB2, Oracle

    Consult IBM’s documentation for the types of valid databases.

  • description

    An optional description for this provider

  • dmgr_profile

    Required. The name of the DMGR profile that this provider should be managed under.

  • implementation

    The implementation type for this JDBC Provider. This corresponds to the wsadmin argument “-implementationType”

    Examples:

    "Connection pool data source"
    

    Consult IBM’s documentation for valid implementation types.

  • name (namevar)

    The name of the provider. Defaults to the resource title.

  • nativepath

    The nativepath for this provider. This corresponds to the wsadmin argument “-nativePath”

    This can be blank.

    Examples:

    "${DB2UNIVERSAL_JDBC_DRIVER_NATIVEPATH}"
    

    Consult IBM’s documentation for valid native paths.

  • node

    Required if ‘scope` is server or node.

  • profile_base

    Required. The full path to the profiles directory where the ‘dmgr_profile` can be found. The IBM default is `/opt/IBM/WebSphere/AppServer/profiles`

  • provider

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

  • providertype

    The provider type for this JDBC Provider. This corresponds to the wsadmin argument “-providerType”

    Examples:

    "Oracle JDBC Driver"
    "DB2 Universal JDBC Driver Provider"
    "DB2 Using IBM JCC Driver"
    

    Consult IBM’s documentation for valid provider types.

  • scope

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

  • server

    Required if ‘scope` is server.

  • user (defaults to: root)

    Optional. The user to run the ‘wsadmin` command as. Defaults to ’root’

  • wsadmin_pass

    The password for wsadmin authentication

  • wsadmin_user

    The username for wsadmin authentication