Puppet Platform reference manual

NOTE: This page was generated from the Puppet source code on 2017-10-04 17:16:53 -0700

zpool

Description

Manage zpools. Create and delete zpools. The provider WILL NOT SYNC, only report differences.

Supports vdevs with mirrors, raidz, logs and spares.

Attributes

zpool { 'resource title':
  pool        => # (namevar) The name for this...
  ensure      => # The basic property that the resource should be...
  disk        => # The disk(s) for this pool. Can be an array or a...
  log         => # Log disks for this pool. This type does not...
  mirror      => # List of all the devices to mirror for this pool. 
  provider    => # The specific backend to use for this `zpool...
  raid_parity => # Determines parity when using the `raidz...
  raidz       => # List of all the devices to raid for this pool...
  spare       => # Spare disk(s) for this...
  # ...plus any applicable metaparameters.
}

pool

(Namevar: If omitted, this attribute’s value defaults to the resource’s title.)

The name for this pool.

(↑ Back to zpool attributes)

ensure

(Property: This attribute represents concrete state on the target system.)

The basic property that the resource should be in.

Valid values are present, absent.

(↑ Back to zpool attributes)

disk

(Property: This attribute represents concrete state on the target system.)

The disk(s) for this pool. Can be an array or a space separated string.

(↑ Back to zpool attributes)

log

(Property: This attribute represents concrete state on the target system.)

Log disks for this pool. This type does not currently support mirroring of log disks.

(↑ Back to zpool attributes)

mirror

(Property: This attribute represents concrete state on the target system.)

List of all the devices to mirror for this pool. Each mirror should be a space separated string:

mirror => ["disk1 disk2", "disk3 disk4"],

(↑ Back to zpool attributes)

provider

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

Available providers are:

(↑ Back to zpool attributes)

raid_parity

Determines parity when using the raidz parameter.

(↑ Back to zpool attributes)

raidz

(Property: This attribute represents concrete state on the target system.)

List of all the devices to raid for this pool. Should be an array of space separated strings:

raidz => ["disk1 disk2", "disk3 disk4"],

(↑ Back to zpool attributes)

spare

(Property: This attribute represents concrete state on the target system.)

Spare disk(s) for this pool.

(↑ Back to zpool attributes)

Providers

zpool

Provider for zpool.

  • Required binaries: zpool.

NOTE: This page was generated from the Puppet source code on 2017-10-04 17:16:53 -0700

Back to top