Defined Type: sys::solaris::zfs::dedup

Defined in:
manifests/solaris/zfs/dedup.pp

Overview

This define is a convenience wrapper around ‘solaris::zfs::property` to turn ZFS deduplication on the dataset sharing the same name as the resource.

Parameters:

  • value (Any) (defaults to: 'on')


3
4
5
6
7
8
9
10
11
# File 'manifests/solaris/zfs/dedup.pp', line 3

define sys::solaris::zfs::dedup(
  $value = 'on',
) {
  sys::solaris::zfs::property { "${name} dedup":
    property => 'dedup',
    value    => $value,
    dataset  => $name,
  }
}