Forge Home

dockerinstall

Docker CE installation and start

5,733 downloads

117 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.13.5 (latest)
  • 0.13.4
  • 0.13.3
  • 0.13.1
  • 0.13.0
  • 0.12.1
  • 0.12.0
  • 0.11.0
  • 0.10.2
  • 0.10.1
  • 0.10.0
  • 0.9.5
  • 0.9.2
released Jan 13th 2023
This version is compatible with:
  • Puppet Enterprise 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x
  • Puppet >= 5.5.0 < 8.0.0
  • ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'aursu-dockerinstall', '0.13.5'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add aursu-dockerinstall
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install aursu-dockerinstall --version 0.13.5

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

aursu/dockerinstall — version 0.13.5 Jan 13th 2023

puppet-dockerinstall

Based on puppetlabs/docker - only installation and service startup for Fedora, CentOS 7 and Ubuntu 14.04

Usage in profile

Profile profile::docker will install Docker daemon and Docker compose and start daemon. It is possible to define class { 'dockerinstall::config': ... } in order to override predefined startup options.

class profile::docker {
    class { 'dockerinstall': }
    # class {'dockerinstall::config': }
    class { 'dockerinstall::service': }
    class { 'dockerinstall::compose': }
}

Predefined base profile dockerinstall::profile::daemon

This class is base profile which installs Docker and run daemon, installs Docker Compose. It has parameters to setup TLS socket for Docker daemon (listenning on standard port)

Dockerservice custom type paths description

project

1) default value is project name from title_patterns therefore this field will not be empty

2) if project provided:

- it must be either project name or
- absolute path to the project directory (root of the project)

3) if absolute path provided

- it will be transformed to project name (base name of the path) and
- `basedir` parameter will be set to base directory (dirname) of project
  path therefore
- catalog must include according `File` resource for this
  dirname;
- but parameter `basedir` will have value of *specified* for this
  parameter path

basedir

1) default value is either /run/compose or /var/run/compose 2) must be absolute path if provided 3) catalog must include according File resource

path

1) default to docker-compose.yml 2) if provided and it is absolute path:

- `project` parameter must not be absolute path as well
- catalog must contain File resource of directory for specified file path

3) if provided and it is relative path

- it will be transformed to <basedir>/<project>/<path>