Puppet Class: powercli::vcenter::connection

Defined in:
manifests/vcenter/connection.pp

Summary

Manages the connection details that resources in this module will use to connect with vCenter.

Overview

Examples:

Basic usage

class { 'powercli::vcenter::connection':
  server   => 'vcenter.domain.tld',
  username => 'user@domain.tld',
  password => 'PassWord!',
}

Parameters:

  • server (String)

    Hostname / IP address of the vCenter server

  • username (String)

    Username to use for vCenter authentication

  • password (String)

    Password to use for vCenter authentication



17
18
19
20
21
22
23
# File 'manifests/vcenter/connection.pp', line 17

class powercli::vcenter::connection (
  String $server,
  String $username,
  String $password,
) {
  $connect = "Connect-VIServer -Server '${server}' -Username '${username}' -Password '${password}'"
}