Skip to content

eringet/puppet-docker_distribution

 
 

Repository files navigation

docker_distribution

Build Status

Puppet module for installing, configuring and managing Docker Registry 2.0

Support

This module is currently only for RedHat clones 6.x, 7.x and OpenSuSE:

The Docker toolset to pack, ship, store, and deliver content.

Usage:

      include docker_distribution

Use tls (it will use puppet certificates) and enable email hooks:

  class { '::docker_distribution':
    log_fields               => {
      service     => 'registry',
      environment => 'production'
    }
    ,
    log_hooks_mail_disabled  => false,
    log_hooks_mail_levels    => ['panic', 'error'],
    log_hooks_mail_to        => '[email protected]',
    filesystem_rootdirectory => '/srv/registry',
    http_addr                => ':1443',
    http_tls                 => true,
  }

Start from a container:

	  class { '::docker_distribution':
	    manage_as                    => 'container',
	    # configuration
	    log_fields                   => {
	      service     => 'registry',
	      environment => 'production',
	    },
	    log_hooks_mail_disabled      => false,
	    log_hooks_mail_levels        => ['panic'],
	    log_hooks_mail_to            => '[email protected]',
	    log_hooks_mail_smtp_addr     => 'localhost:25',
	    log_hooks_mail_smtp_insecure => true,
	    filesystem_rootdirectory     => '/srv/registry',
	    http_addr                    => ':1443',
	    http_tls                     => true,
	    storage_delete               => true,
	  }

Journald forward:

The class support a parameter called journald_forward_enable.

This was added because of the PIPE signal that is sent to go programs when systemd-journald dies.

For more information read here: https://github.com/projectatomic/forward-journald

Usage:

  include ::forward_journald
  Class['forward_journald'] -> Class['docker_distribution']

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Puppet 71.3%
  • HTML 22.1%
  • Ruby 6.5%
  • Pascal 0.1%