Resource Type: scalemgmt_conn_validator

Defined in:
lib/puppet/type/scalemgmt_conn_validator.rb
Providers:
net_http

Overview

Verify that a connection can be successfully established between a node and the scalemgmt server. Its primary use is as a precondition to prevent configuration changes from being applied if the scalemgmt server cannot be reached, but it could potentially be used for other purposes such as monitoring.

Properties

  • ensure (defaults to: present)

    Ensure

    Supported values:
    • present
    • absent

Parameters

  • api_password (defaults to: admin001)

    API password

  • api_user (defaults to: admin)

    API user name

  • name (namevar)

    An arbitrary name used as the identity of the resource.

  • provider

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

  • scalemgmt_port (defaults to: 443)

    The port that the scalemgmt server should be listening on.

  • scalemgmt_server (defaults to: localhost)

    The DNS name or IP address of the server where scalemgmt should be running.

  • test_url (defaults to: /scalemgmt/v2/info)

    URL to use for testing if the scalemgmt API is up

  • timeout (defaults to: 30)

    The max number of seconds that the validator should wait before giving up and deciding that scalemgmt is not running; defaults to 30 seconds.