Puppet Class: dockerinstall::profile::registry::clientauth

Defined in:
manifests/profile/registry/clientauth.pp

Summary

Base profile for Docker registry client auth setup

Overview

Base profile for Docker registry client auth setup

Examples:

include dockerinstall::profile::registry::clientauth

Parameters:

  • registry (Optional[Array[Stdlib::Fqdn]]) (defaults to: undef)


7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'manifests/profile/registry/clientauth.pp', line 7

class dockerinstall::profile::registry::clientauth (
  Optional[Array[Stdlib::Fqdn]]
          $registry = undef,
)
{
  include dockerinstall
  include dockerinstall::setup

  if $registry {
    $registry.each |$server_name| {
      dockerinstall::registry::clientauth { $server_name: }

      dockerinstall::registry::clientauth { "${server_name}:443":
        server_name => $server_name,
        server_port => 443,
      }
    }
  }
}