Puppet Class: podman::service

Defined in:
manifests/service.pp

Summary

Manage the podman.socket service

Overview



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

class podman::service {
  require podman::install

  $ensure = $podman::enable_api_socket ? {
    true    => 'running',
    default => 'stopped',
  }

  service { 'podman.socket':
    ensure => $ensure,
    enable => $podman::enable_api_socket,
  }
}