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.

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



13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'manifests/init.pp', line 13

class quadlets (
  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']
}