Puppet Class: zfs::zed

Defined in:
manifests/zed.pp

Overview

Installs the ZFS Event Daemon.

Examples:

Declaring the class

include zfs
include zfs::zed

Parameters:

  • conf_dir (Stdlib::Absolutepath)

    Configuration directory, usually ${zfs::conf_dir}/zed.d.

  • debug_log (Optional[Stdlib::Absolutepath])
  • email_addrs (Optional[Array[String, 1]])
  • email_opts (Optional[String])
  • email_prog (Optional[String])
  • lock_dir (Optional[Stdlib::Absolutepath])
  • notify_interval_secs (Optional[Integer[0]])
  • notify_verbose (Optional[Boolean])
  • package_name (Optional[String])

    The name of the package to install if not installed already by the ZFS class.

  • pushbullet_access_token (Optional[String])
  • pushbullet_channel_tag (Optional[String])
  • run_dir (Optional[Stdlib::Absolutepath])
  • service_manage (Boolean)

    Whether to manage the service.

  • service_name (String)

    Name of the service.

  • spare_on_checksum_errors (Optional[Integer[1]])
  • spare_on_io_errors (Optional[Integer[1]])
  • syslog_priority (Optional[String])
  • syslog_tag (Optional[String])
  • use_enclosure_leds (Optional[Boolean])
  • zedlet_dir (Stdlib::Absolutepath)

    Path to package-provided zedlets.

  • zedlets (Hash[String, Hash])

    Hash of zedlet resources to create.

See Also:

Since:

  • 2.0.0



34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# File 'manifests/zed.pp', line 34

class zfs::zed (
  Stdlib::Absolutepath           $conf_dir,
  Optional[Stdlib::Absolutepath] $debug_log,
  Optional[Array[String, 1]]     $email_addrs,
  Optional[String]               $email_opts,
  Optional[String]               $email_prog,
  Optional[Stdlib::Absolutepath] $lock_dir,
  Optional[Integer[0]]           $notify_interval_secs,
  Optional[Boolean]              $notify_verbose,
  Optional[String]               $package_name,
  Optional[String]               $pushbullet_access_token,
  Optional[String]               $pushbullet_channel_tag,
  Optional[Stdlib::Absolutepath] $run_dir,
  Boolean                        $service_manage,
  String                         $service_name,
  Optional[Integer[1]]           $spare_on_checksum_errors,
  Optional[Integer[1]]           $spare_on_io_errors,
  Optional[String]               $syslog_priority,
  Optional[String]               $syslog_tag,
  Optional[Boolean]              $use_enclosure_leds,
  Stdlib::Absolutepath           $zedlet_dir,
  Hash[String, Hash]             $zedlets,
) {

  include zfs

  contain zfs::zed::install
  contain zfs::zed::config
  contain zfs::zed::service

  Class['zfs::service'] -> Class['zfs::zed::install']
    -> Class['zfs::zed::config'] ~> Class['zfs::zed::service']
}