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

  • tls_users_access (Boolean) (defaults to: false)

    Whether to allow access to Docker TLS assets to system users



24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'manifests/docker.pp', line 24

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

  class { 'dockerinstall::repos':
    gpgcheck  => $repo_gpgcheck,
    sslverify => $repo_sslverify,
  }

  class { 'dockerinstall::profile::install':
    dockerd_version  => $dockerd_version,
    tls_users_access => $tls_users_access,
  }

  if $daemon_enable {
    class { 'dockerinstall::profile::daemon':
      tls_users_access => $tls_users_access,
    }
  }
}