Resource Type: onetemplate
- Defined in:
- lib/puppet/type/onetemplate.rb
- Providers:
-
cli
Overview
OpenNebula Puppet type for onetemplate
License: APLv2
Authors: Based upon initial work from Ken Barber Modified by Martin Alfke
Copyright initial provider had no copyright Deutsche Post E-POST Development GmbH - 2014, 2015
Properties
-
acpi
Enable ACPI
Supported values:- true
- false
-
context
Pass context hash to vm.
-
context_files
Array of additional contextualization files
-
context_network
Activate network contextualization
-
context_onegate
Activate OneGate token in contextualization
-
context_placement_cluster
Cluster where to place the vm using this template
-
context_placement_host
Host where to place the vm using this template
-
context_policy
Activate policy how to distribute vm using this template
-
context_ssh
Activate SSH contextualization
-
context_ssh_pubkey
Root SSH pub key contextualization
-
context_variables
Hash of additional contextualization variables
- cpu
-
description
Description of template.
-
disks
(defaults to: [])
An array of hash for Disks Section
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
-
features
A hash for Features Section
-
graphics
A hash for I/O Devices Section
-
graphics_keymap
keyboard configuration locale to use in the VNC display
-
graphics_listen
(defaults to: 0.0.0.0)
IP to listen on.
-
graphics_passwd
VNC password.
-
graphics_port
Port for the VNC server. If left empty this is automatically set.
-
graphics_type
(defaults to: vnc)
Graphics type - vnc or sdl
-
memory
Memory allocation for template in megabytes.
- nic_model
-
nics
(defaults to: [])
An array of hash for Network Section
-
os
A hash for OS and Boot Options Section
-
os_arch
CPU architecture.
-
os_boot
Boot device type: hd,fd,cdrom,network
-
os_bootloader
Path to the bootloader executable.
-
os_initrd
Path to the initrd image.
-
os_kernel
Path to the OS kernel to boot the template. Required in Xen.
-
os_kernel_cmd
Arguments for the booting kernel.
-
os_root
Device to be mounted as root.
-
pae
Enable PAE
Supported values:- true
- false
-
pci_bridge
PCI Bridging
Supported values:- true
- false
-
vcpu
Virtual CPUs
Parameters
-
name (namevar)
Name of template.
-
provider
The specific backend to use for this ‘onetemplate` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.