Resource Type: cluster_node

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

Overview

Manage Glassfish cluster nodes

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

  • dashost

    The Glassfish DAS hostname.

  • dasport (defaults to: 4848)

    The Glassfish DAS port. Default: 4848

  • host

    The name of the host that the node represents. The name of the host must be specified. Otherwise, an error occurs.

  • install (defaults to: false)

    Specifies whether the subcommand shall install the GlassFish Server software on the host that the node represents. Default: false

    Supported values:
    • true
    • false
  • nodename (namevar)

    The Glassfish node name.

  • passwordfile

    The file containing the password for the user.

  • provider

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

  • sshkeyfile

    The absolute path to the SSH private key file for user that the –sshuser option specifies. This file is used for authentication to the sshd daemon on the node’s host.

    The path to the key file must be reachable by the DAS and the key file must be readable by the DAS.

    The default is the a key file in the user’s .ssh direc- tory. If multiple key files are found, the subcommand uses the following order of preference:

    1. id_rsa

    2. id_dsa

    3. identity

  • sshport (defaults to: 22)

    The port to use for SSH connections to this node’s host. The default is 22. If the –nodehost option is set to localhost-domain, the –sshport option is ignored.

  • sshuser

    The user on this node’s host that is to run the process for connecting to the host through SSH. The default is the user that is running the DAS process. To ensure that the DAS can read this user’s SSH private key file, specify the user that is running the DAS process. If the –nodehost option is set to localhost-domain, the –sshuser option is ignored.

  • user

    The user to run the command as.