Resource Type: zfs

This version of Puppet is not included in Puppet Enterprise. The latest version of PE includes Puppet 4.10.

NOTE: This page was generated from the Puppet source code on 2017-08-17 12:24:28 -0500

zfs

Description

Manage zfs. Create destroy and set properties on zfs instances.

Autorequires: If Puppet is managing the zpool at the root of this zfs instance, the zfs resource will autorequire it. If Puppet is managing any parent zfs instances, the zfs resource will autorequire them.

Attributes

zfs { 'resource title':
  name           => # (namevar) The full name for this filesystem (including the 
  ensure         => # The basic property that the resource should be...
  aclinherit     => # The aclinherit property. Valid values are...
  aclmode        => # The aclmode property. Valid values are...
  atime          => # The atime property. Valid values are `on`...
  canmount       => # The canmount property. Valid values are `on`...
  checksum       => # The checksum property. Valid values are `on`...
  compression    => # The compression property. Valid values are `on`, 
  copies         => # The copies property. Valid values are `1`, `2`...
  dedup          => # The dedup property. Valid values are `on`...
  devices        => # The devices property. Valid values are `on`...
  exec           => # The exec property. Valid values are `on`...
  logbias        => # The logbias property. Valid values are...
  mountpoint     => # The mountpoint property. Valid values are...
  nbmand         => # The nbmand property. Valid values are `on`...
  primarycache   => # The primarycache property. Valid values are...
  provider       => # The specific backend to use for this `zfs...
  quota          => # The quota property. Valid values are `<size>`...
  readonly       => # The readonly property. Valid values are `on`...
  recordsize     => # The recordsize property. Valid values are powers 
  refquota       => # The refquota property. Valid values are...
  refreservation => # The refreservation property. Valid values are...
  reservation    => # The reservation property. Valid values are...
  secondarycache => # The secondarycache property. Valid values are...
  setuid         => # The setuid property. Valid values are `on`...
  shareiscsi     => # The shareiscsi property. Valid values are `on`...
  sharenfs       => # The sharenfs property. Valid values are `on`...
  sharesmb       => # The sharesmb property. Valid values are `on`...
  snapdir        => # The snapdir property. Valid values are `hidden`, 
  version        => # The version property. Valid values are `1`, `2`, 
  volsize        => # The volsize property. Valid values are...
  vscan          => # The vscan property. Valid values are `on`...
  xattr          => # The xattr property. Valid values are `on`...
  zoned          => # The zoned property. Valid values are `on`...
  # ...plus any applicable metaparameters.
}

name

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

The full name for this filesystem (including the zpool).

(↑ Back to zfs 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 zfs attributes)

aclinherit

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

The aclinherit property. Valid values are discard, noallow, restricted, passthrough, passthrough-x.

(↑ Back to zfs attributes)

aclmode

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

The aclmode property. Valid values are discard, groupmask, passthrough.

(↑ Back to zfs attributes)

atime

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

The atime property. Valid values are on, off.

(↑ Back to zfs attributes)

canmount

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

The canmount property. Valid values are on, off, noauto.

(↑ Back to zfs attributes)

checksum

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

The checksum property. Valid values are on, off, fletcher2, fletcher4, sha256.

(↑ Back to zfs attributes)

compression

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

The compression property. Valid values are on, off, lzjb, gzip, gzip-[1-9], zle.

(↑ Back to zfs attributes)

copies

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

The copies property. Valid values are 1, 2, 3.

(↑ Back to zfs attributes)

dedup

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

The dedup property. Valid values are on, off.

(↑ Back to zfs attributes)

devices

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

The devices property. Valid values are on, off.

(↑ Back to zfs attributes)

exec

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

The exec property. Valid values are on, off.

(↑ Back to zfs attributes)

logbias

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

The logbias property. Valid values are latency, throughput.

(↑ Back to zfs attributes)

mountpoint

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

The mountpoint property. Valid values are <path>, legacy, none.

(↑ Back to zfs attributes)

nbmand

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

The nbmand property. Valid values are on, off.

(↑ Back to zfs attributes)

primarycache

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

The primarycache property. Valid values are all, none, metadata.

(↑ Back to zfs attributes)

provider

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

Available providers are:

(↑ Back to zfs attributes)

quota

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

The quota property. Valid values are <size>, none.

(↑ Back to zfs attributes)

readonly

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

The readonly property. Valid values are on, off.

(↑ Back to zfs attributes)

recordsize

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

The recordsize property. Valid values are powers of two between 512 and 128k.

(↑ Back to zfs attributes)

refquota

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

The refquota property. Valid values are <size>, none.

(↑ Back to zfs attributes)

refreservation

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

The refreservation property. Valid values are <size>, none.

(↑ Back to zfs attributes)

reservation

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

The reservation property. Valid values are <size>, none.

(↑ Back to zfs attributes)

secondarycache

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

The secondarycache property. Valid values are all, none, metadata.

(↑ Back to zfs attributes)

setuid

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

The setuid property. Valid values are on, off.

(↑ Back to zfs attributes)

shareiscsi

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

The shareiscsi property. Valid values are on, off, type=<type>.

(↑ Back to zfs attributes)

sharenfs

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

The sharenfs property. Valid values are on, off, share(1M) options

(↑ Back to zfs attributes)

sharesmb

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

The sharesmb property. Valid values are on, off, sharemgr(1M) options

(↑ Back to zfs attributes)

snapdir

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

The snapdir property. Valid values are hidden, visible.

(↑ Back to zfs attributes)

version

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

The version property. Valid values are 1, 2, 3, 4, current.

(↑ Back to zfs attributes)

volsize

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

The volsize property. Valid values are <size>

(↑ Back to zfs attributes)

vscan

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

The vscan property. Valid values are on, off.

(↑ Back to zfs attributes)

xattr

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

The xattr property. Valid values are on, off.

(↑ Back to zfs attributes)

zoned

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

The zoned property. Valid values are on, off.

(↑ Back to zfs attributes)

Providers

zfs

Provider for zfs.

  • Required binaries: zfs.

NOTE: This page was generated from the Puppet source code on 2017-08-17 12:24:28 -0500

↑ Back to top