Puppet Class: quadlets::config

Inherits:
quadlets
Defined in:
manifests/config.pp

Summary

Configure podman for quadlets

Overview

Parameters:

  • create_quadlet_dir (Boolean) (defaults to: $quadlets::create_quadlet_dir)
  • purge_quadlet_dir (Boolean) (defaults to: $quadlets::purge_quadlet_dir)


4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'manifests/config.pp', line 4

class quadlets::config (
  Boolean $create_quadlet_dir = $quadlets::create_quadlet_dir,
  Boolean $purge_quadlet_dir = $quadlets::purge_quadlet_dir,
) inherits quadlets {
  if $create_quadlet_dir {
    file { $quadlets::quadlet_dir:
      ensure  => directory,
      owner   => root,
      group   => root,
      mode    => '0644',
      purge   => $purge_quadlet_dir,
      force   => $purge_quadlet_dir,
      recurse => $purge_quadlet_dir,
    }
  }
}