zfs: Installs basic ZFS kernel and userland support.zfs::configzfs::installzfs::servicezfs::zed: Installs the ZFS Event Daemon.zfs::zed::configzfs::zed::installzfs::zed::service
zfs::scrub: Set up a zpool scrub cron entry.zfs::zed::zedlet: Enables either a packaged or custom ZFS Event Daemon "zedlet". Not specifying either$contentor$sourceresults in the zedlet being sym
scrub: Allows you to initiate the scrub of a zpool
Installs basic ZFS kernel and userland support.
- See also
- puppet_classes::zfs::zed
- zfs::zed
- puppet_defined_types::zfs::scrub
- zfs::scrub
- puppet_classes::zfs::zed
include zfsclass { 'zfs':
zfs_arc_max => to_bytes('256 M'),
zfs_arc_min => to_bytes('128 M'),
}The following parameters are available in the zfs class:
Data type: Stdlib::Absolutepath
Top-level configuration directory, usually /etc/zfs.
Data type: Enum['dkms', 'kabi']
Whether to use DKMS kernel packages or ones built to match the running kernel (only applies to RHEL platforms).
Data type: Boolean
Whether to setup and manage external package repositories.
Data type: Variant[String, Array[String, 1]]
The name of the top-level metapackage that installs ZFS support.
Data type: Boolean
Whether to manage the various ZFS services.
Data type: Optional[Integer[0]]
Maximum size of the ARC in bytes.
Data type: Optional[Integer[0]]
Minimum size of the ARC in bytes.
The zfs::config class.
The zfs::install class.
The zfs::service class.
Installs the ZFS Event Daemon.
-
Since 2.0.0
-
See also
- puppet_classes::zfs
- zfs
- puppet_defined_types::zfs::zed::zedlet
- zfs::zed::zedlet
- puppet_classes::zfs
include zfs
include zfs::zedThe following parameters are available in the zfs::zed class:
conf_dirdebug_logemail_addrsemail_optsemail_proglock_dirnotify_interval_secsnotify_verbosepackage_namepushbullet_access_tokenpushbullet_channel_tagrun_dirservice_manageservice_namespare_on_checksum_errorsspare_on_io_errorssyslog_prioritysyslog_taguse_enclosure_ledszedlet_dirzedlets
Data type: Stdlib::Absolutepath
Configuration directory, usually ${zfs::conf_dir}/zed.d.
Data type: Optional[Stdlib::Absolutepath]
Data type: Optional[Array[String, 1]]
Data type: Optional[String]
Data type: Optional[String]
Data type: Optional[Stdlib::Absolutepath]
Data type: Optional[Integer[0]]
Data type: Optional[Boolean]
Data type: Optional[String]
The name of the package to install if not installed already by the ZFS class.
Data type: Optional[String]
Data type: Optional[String]
Data type: Optional[Stdlib::Absolutepath]
Data type: Boolean
Whether to manage the service.
Data type: String
Name of the service.
Data type: Optional[Integer[1]]
Data type: Optional[Integer[1]]
Data type: Optional[String]
Data type: Optional[String]
Data type: Optional[Boolean]
Data type: Stdlib::Absolutepath
Path to package-provided zedlets.
Data type: Hash[String, Hash]
Hash of zedlet resources to create.
The zfs::zed::config class.
The zfs::zed::install class.
The zfs::zed::service class.
Set up a zpool scrub cron entry.
-
Since 2.2.0
-
See also
- puppet_classes::zfs
- zfs
- puppet_classes::zfs
include zfs
zfs::scrub { 'test':
hour => '1',
minute => '0',
month => '*',
monthday => '1',
weekday => '*',
}The following parameters are available in the zfs::scrub defined type:
Data type: String
The name of the zpool.
Default value: $title
Data type: Any
See the cron resource type.
Data type: Any
See the cron resource type.
Data type: Any
See the cron resource type.
Data type: Any
See the cron resource type.
Data type: Any
See the cron resource type.
Data type: String
See the cron resource type.
Default value: 'root'
Enables either a packaged or custom ZFS Event Daemon "zedlet".
Not specifying either $content or $source results in the zedlet being
symlinked from the "installed zedlets" directory.
-
Since 2.0.0
-
See also
- puppet_classes::zfs::zed
- zfs::zed
- puppet_classes::zfs::zed
zfs::zed::zedlet { 'scrub.finish-notify.sh': }zfs::zed::zedlet { 'scrub.finish-notify.sh':
source => 'puppet:///example/scrub.finish-notify.sh',
}The following parameters are available in the zfs::zed::zedlet defined type:
Data type: Optional[String]
Content of custom zedlet
Default value: undef
Data type: Optional[String]
Source of custom zedlet
Default value: undef
Data type: String
The filename for the zedlet
Default value: $title
Allows you to initiate the scrub of a zpool
Supports noop? false
Data type: String[1]
Name of the zpool