Resource Type: oneimage
- Defined in:
- lib/puppet/type/oneimage.rb
- Providers:
-
cli
Overview
OpenNebula Puppet type for oneimage
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
-
datastore
(defaults to: default)
Selects the datastore
Supported values:- /^\w+$/
-
description
Description of image
-
dev_prefix
Prefix of device: hd, sd, xvd or vd.
-
disk_type
Type of the image (BLOCK, CDROM, RBD, FILE, KERNEL, RAMDISK or CONTEXT)
-
driver
Driver to use for image: KVM: raw or qcow2, XEN: tap:aio or file:
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
-
fstype
FStype for disk.
-
path
Path to original image that will be copied to the image repository.
-
persistent
(defaults to: false)
Persistence of the image.
Supported values:- true
- false
-
size
Size in MB.
-
target
Target to use for disk image: hda, hdb, sda, sdb
-
type
(defaults to: OS)
Type of image: os, cdrom, datablock, kernel, ramdisk or context
Supported values:- OS
- os
- CDROM
- cdrom
- DATABLOCK
- datablock
- KERNEL
- kernel
- RAMDISK
- ramdisk
- CONTEXT
- context
Parameters
-
name (namevar)
Name of image.
-
provider
The specific backend to use for this ‘oneimage` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.
- source