Resource Type: nova_flavor

Defined in:
lib/puppet/type/nova_flavor.rb
Providers:
openstack

Overview

Manage creation of nova flavors.

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • project

    Set flavor access to project (ID).

  • project_name

    Set flavor access to project (Name).

  • properties

    The set of flavor properties

Parameters

  • disk

    Amount of disk space (in gigabytes) to use for the root (/) partition.

  • ephemeral

    Amount of disk space (in gigabytes) to use for the ephemeral partition.

  • id

    Unique ID (integer or UUID) for the flavor.

  • is_public (defaults to: true)

    Whether the flavor is public or not. Default true

    Supported values:
    • /(y|Y)es/
    • /(n|N)o/
    • /(t|T)rue/
    • /(f|F)alse/
    • true
    • false
  • name (namevar)

    Name for the flavor

  • provider

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

  • ram

    Amount of RAM to use (in megabytes).

  • rxtx_factor

    The slice of bandwidth that the instances with this flavor can use (through the Virtual Interface (vif) creation in the hypervisor)

  • swap

    Amount of swap space (in megabytes) to use.

  • vcpus

    Number of virtual CPUs to use.