Skip to content

Commit 2f68229

Browse files
committed
switch to puppet strings documentation layout for manifests
1 parent b136200 commit 2f68229

28 files changed

+1459
-1330
lines changed

Diff for: REFERENCE.md

+887-921
Large diffs are not rendered by default.

Diff for: manifests/compose.pp

+10-19
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,36 @@
1-
# == Class: docker::compose
1+
# @summary install Docker Compose using the recommended curl command.
22
#
3-
# Class to install Docker Compose using the recommended curl command.
4-
#
5-
# === Parameters
6-
#
7-
# [*ensure*]
3+
# @param ensure
84
# Whether to install or remove Docker Compose
95
# Valid values are absent present
10-
# Defaults to present
116
#
12-
# [*version*]
7+
# @param version
138
# The version of Docker Compose to install.
14-
# Defaults to the value set in $docker::params::compose_version
159
#
16-
# [*install_path*]
10+
# @param install_path
1711
# The path where to install Docker Compose.
18-
# Defaults to the value set in $docker::params::compose_install_path
1912
#
20-
# [*symlink_name*]
13+
# @param symlink_name
2114
# The name of the symlink created pointing to the actual docker-compose binary
2215
# This allows use of own docker-compose wrapper scripts for the times it's
2316
# necessary to set certain things before running the docker-compose binary
24-
# Defaults to the value set in $docker::params::compose_symlink_name
2517
#
26-
# [*proxy*]
18+
# @param proxy
2719
# Proxy to use for downloading Docker Compose.
2820
#
29-
# [*base_url*]
21+
# @param base_url
3022
# The base url for installation
3123
# This allows use of a mirror that follows the same layout as the
3224
# official repository
3325
#
34-
# [*raw_url*]
26+
# @param raw_url
3527
# Override the raw URL for installation
3628
# The default is to build a URL from baseurl. If rawurl is set, the caller is
3729
# responsible for ensuring the URL points to the correct version and
3830
# architecture.
39-
40-
# [*curl_ensure*]
31+
#
32+
# @param curl_ensure
4133
# Whether or not the curl package is ensured by this module.
42-
# Defaults to true
4334
#
4435
class docker::compose(
4536
Optional[Enum[present,absent]] $ensure = 'present',

Diff for: manifests/config.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# == Class: docker::config
1+
# @summary
22
#
33
class docker::config {
44
if $facts['os']['family'] != 'windows' {

Diff for: manifests/exec.pp

+12-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
1-
1+
# @summary
2+
# A define which executes a command inside a container.
23
#
3-
# A define which executes a command inside a container.
4+
# @param detach
5+
# @param interactive
6+
# @param env
7+
# @param tty
8+
# @param container
9+
# @param command
10+
# @param unless
11+
# @param sanitise_name
12+
# @param refreshonly
13+
# @param onlyif
414
#
515
define docker::exec(
616
Optional[Boolean] $detach = false,

Diff for: manifests/image.pp

+13-11
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,30 @@
1-
# == Class: docker
1+
# @summary
2+
# Module to install an up-to-date version of a Docker image
3+
# from the registry
24
#
3-
# Module to install an up-to-date version of a Docker image
4-
# from the registry
5-
#
6-
# === Parameters
7-
# [*ensure*]
5+
# @param ensure
86
# Whether you want the image present or absent.
97
#
10-
# [*image*]
8+
# @param image
119
# If you want the name of the image to be different from the
1210
# name of the puppet resource you can pass a value here.
1311
#
14-
# [*image_tag*]
12+
# @param image_tag
1513
# If you want a specific tag of the image to be installed
1614
#
17-
# [*image_digest*]
15+
# @param image_digest
1816
# If you want a specific content digest of the image to be installed
1917
#
20-
# [*docker_file*]
18+
# @param docker_file
2119
# If you want to add a docker image from specific docker file
2220
#
23-
# [*docker_tar*]
21+
# @param docker_tar
2422
# If you want to load a docker image from specific docker tar
2523
#
24+
# @param force
25+
#
26+
# @param docker_dir
27+
#
2628
define docker::image(
2729
Optional[Enum[present,absent,latest]] $ensure = 'present',
2830
Optional[Pattern[/^[\S]*$/]] $image = $title,

Diff for: manifests/images.pp

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# docker::images
1+
# @summary
2+
#
3+
# @param images
4+
#
25
class docker::images(
36
$images
47
) {

0 commit comments

Comments
 (0)