Puppet Class: quadlets

Inherited by:
quadlets::config
Defined in:
manifests/init.pp

Summary

Main class for setting quadlet support

Overview

Examples:

Set up Podman for quadlets

include quadlets

Parameters:

  • socket_enable (Boolean) (defaults to: true)

    Should podman.socket be started and enabled

  • create_quadlet_dir (Boolean) (defaults to: false)

    Should the directory for storing quadlet files be created.

  • selinux_container_manage_cgroup (Boolean) (defaults to: false)

    If SELinux is enabled and this is true, set SELinux boolean ‘container_manage_cgroup’ to true. Required if you want to run containers in systemd mode If SELinux is not enabled on system this does nothing.

  • purge_quadlet_dir (Boolean) (defaults to: false)

    Should the directory for storing quadlet files be purged. This has no effect unless create_quadlet_dir is set to true.

See Also:



20
21
22
23
24
25
26
27
28
29
30
31
32
33
# File 'manifests/init.pp', line 20

class quadlets (
  Boolean $selinux_container_manage_cgroup = false,
  Boolean $socket_enable = true,
  Boolean $create_quadlet_dir = false,
  Boolean $purge_quadlet_dir = false,
) {
  $quadlet_dir = '/etc/containers/systemd'

  contain quadlets::install
  contain quadlets::config
  contain quadlets::service

  Class['quadlets::install'] -> Class['quadlets::config'] -> Class['quadlets::service']
}