Resource Type: customresource

Defined in:
lib/puppet/type/customresource.rb
Providers:
asadmin

Overview

Manage custom resources of Glassfish domains

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent

Parameters

  • asadminuser (defaults to: admin)

    The internal Glassfish user asadmin uses. Default: admin

  • factoryclass

    Factory class name for the custom resource. This class implements the javax.naming.spi.ObjectFactory interface.

  • name (namevar)

    The custom resource name.

  • passwordfile

    The file containing the password for the user.

  • portbase (defaults to: 4800)

    The Glassfish domain port base. Default: 4800

  • properties

    Optional attribute name/value pairs for configuring the resource. As String or Hash. Eg: "user=myuser:password=mypass"

  • provider

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

  • restype

    The type of custom resource to be created. Specify a fully qualified type definition, for example javax.naming.spi.ObjectFactory. The resource type definition follows the format, xxx.xxx.xxx

  • user

    The user to run the command as.