Resource Type: server

Defined in:
lib/puppet/type/server.rb
Providers:
v1

Overview

Type representing a ProfitBricks server.

Properties

  • availability_zone (defaults to: AUTO)

    The availability zone of where the server will reside.

    Supported values:
    • AUTO
    • ZONE_1
    • ZONE_2
  • boot_volume

    The boot volume name, if more than one volume it attached to the server.

  • cores

    The number of CPU cores assigned to the server.

  • cpu_family (defaults to: AMD_OPTERON)

    The CPU family of the server.

    Supported values:
    • AMD_OPTERON
    • INTEL_XEON
  • datacenter_id

    The virtual data center where the server will reside.

  • datacenter_name

    The name of the virtual data center where the server will reside.

  • ensure
    Supported values:
    • present
    • absent
    • running
    • stopped
  • licence_type

    The OS type of the server.

    Supported values:
    • LINUX
    • WINDOWS
    • WINDOWS2016
    • UNKNOWN
    • OTHER
  • nat (defaults to: false)

    A boolean which indicates if the NIC will perform Network Address Translation.

  • nics

    A list of network interfaces associated with the server.

  • purge_volumes (defaults to: false)

    Sets whether attached volumes are removed when server is removed.

    Supported values:
    • true
    • false
  • ram

    The amount of RAM in MB assigned to the server.

  • volumes

    A list of volumes to associate with the server.

Parameters

  • name (namevar)

    The name of the server.

  • provider

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