Resource Type: zfs

NOTE: This page was generated from the Puppet source code on 2018-08-28 06:48:02 -0700 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...
  acltype        => # The acltype propery. Valid values are 'noacl...
  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.

Default: present

Allowed values:

  • present
  • absent

(↑ Back to zfs attributes)

aclinherit

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

The aclinherit property.

Allowed values:

  • discard
  • noallow
  • restricted
  • passthrough
  • passthrough-x

(↑ Back to zfs attributes)

aclmode

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

The aclmode property.

Allowed values:

  • discard
  • groupmask
  • passthrough

(↑ Back to zfs attributes)

acltype

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

The acltype propery.

Allowed values:

  • ‘noacl’
  • ‘posixacl’

Only supported on Linux.

(↑ Back to zfs attributes)

atime

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

The atime property.

Allowed values:

  • on
  • off

(↑ Back to zfs attributes)

canmount

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

The canmount property.

Allowed values:

  • on
  • off
  • noauto

(↑ Back to zfs attributes)

checksum

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

The checksum property.

Allowed values:

  • on
  • off
  • fletcher2
  • fletcher4
  • sha256

(↑ Back to zfs attributes)

compression

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

The compression property.

Allowed values:

  • 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.

Allowed values:

  • 1
  • 2
  • 3

(↑ Back to zfs attributes)

dedup

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

The dedup property.

Allowed values:

  • on
  • off

(↑ Back to zfs attributes)

devices

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

The devices property.

Allowed values:

  • on
  • off

(↑ Back to zfs attributes)

exec

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

The exec property.

Allowed values:

  • on
  • off

(↑ Back to zfs attributes)

logbias

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

The logbias property.

Allowed values:

  • latency
  • throughput

(↑ Back to zfs attributes)

mountpoint

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

The mountpoint property.

Allowed values:

  • <path>
  • legacy
  • none

(↑ Back to zfs attributes)

nbmand

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

The nbmand property.

Allowed values:

  • on
  • off

(↑ Back to zfs attributes)

primarycache

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

The primarycache property.

Allowed values:

  • 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.

Allowed values:

  • <size>
  • none

(↑ Back to zfs attributes)

readonly

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

The readonly property.

Allowed values:

  • on
  • off

(↑ Back to zfs attributes)

recordsize

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

The recordsize property.

Allowed values:

  • 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.

Allowed values:

  • <size>
  • none

(↑ Back to zfs attributes)

refreservation

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

The refreservation property.

Allowed values:

  • <size>
  • none

(↑ Back to zfs attributes)

reservation

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

The reservation property.

Allowed values:

  • <size>
  • none

(↑ Back to zfs attributes)

secondarycache

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

The secondarycache property.

Allowed values:

  • all
  • none
  • metadata

(↑ Back to zfs attributes)

setuid

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

The setuid property.

Allowed values:

  • on
  • off

(↑ Back to zfs attributes)

shareiscsi

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

The shareiscsi property.

Allowed values:

  • on
  • off
  • type=<type>

(↑ Back to zfs attributes)

sharenfs

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

The sharenfs property.

Allowed values:

  • on
  • off
  • share(1M) options

(↑ Back to zfs attributes)

sharesmb

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

The sharesmb property.

Allowed values:

  • on
  • off
  • sharemgr(1M) options

(↑ Back to zfs attributes)

snapdir

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

The snapdir property.

Allowed values:

  • hidden
  • visible

(↑ Back to zfs attributes)

version

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

The version property.

Allowed values:

  • 1
  • 2
  • 3
  • 4
  • current

(↑ Back to zfs attributes)

volsize

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

The volsize property.

Allowed values:

  • <size>

(↑ Back to zfs attributes)

vscan

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

The vscan property.

Allowed values:

  • on
  • off

(↑ Back to zfs attributes)

xattr

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

The xattr property.

Allowed values:

  • on
  • off

(↑ Back to zfs attributes)

zoned

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

The zoned property.

Allowed values:

  • 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 2018-08-28 06:48:02 -0700