Puppet Class: lsys::docker

Defined in:
manifests/docker.pp

Summary

Docker installation

Overview

Docker installation

Examples:

include lsys::docker

Parameters:

  • repo_gpgcheck (Boolean) (defaults to: true)

    This tells yum whether or not it should perform a GPG signature check on packages

  • repo_sslverify (Boolean) (defaults to: true)

    Should yum verify SSL certificates/hosts at all

  • dockerd_version (Optional[String]) (defaults to: undef)

    Ability to setup exact version of Docker daemon

  • daemon_enable (Boolean) (defaults to: true)

    Whether to perform Docker daemon setup and start. Including TLS setup, daemon configuration file setup, systemd settings and Docker Compose



21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# File 'manifests/docker.pp', line 21

class lsys::docker (
  Boolean $repo_gpgcheck = true,
  Boolean $repo_sslverify = true,
  Optional[String] $dockerd_version = undef,
  Boolean $daemon_enable = true,
) {
  include dockerinstall

  class { 'dockerinstall::repos':
    gpgcheck  => $repo_gpgcheck,
    sslverify => $repo_sslverify,
  }
  class { 'dockerinstall::profile::install':
    dockerd_version => $dockerd_version,
  }
  if $daemon_enable {
    class { 'dockerinstall::profile::daemon': }
  }
}