voxpupuli / puppet-quadlets

Puppet module to manage Podman Quadlets
Apache License 2.0
2 stars 2 forks source link

Quadlets

Build Status Release Puppet Forge Puppet Forge - downloads Puppet Forge - endorsement Puppet Forge - scores puppetmodule.info docs Apache-2 License

Overview

Manages Podman and Podman Quadlets in particular

Example

Create a simple centos.service running a container from a CentOS image.

quadlets::quadlet{'centos.container':
  ensure          => present,
  unit_entry     => {
   'Description' => 'Trivial Container that will be very lazy',
  },
  service_entry       => {
    'TimeoutStartSec' => '900',
  },
  container_entry => {
    'Image' => 'quay.io/centos/centos:latest',
    'Exec'  => 'sh -c "sleep inf"'
  },
  install_entry   => {
    'WantedBy' => 'default.target'
  },
  active          => true,
}

Reference

The reference of the quadlet module see REFERENCE.md