Skip to content

Commit 0530499

Browse files
author
carabasdaniel
authored
Merge pull request #605 from puppetlabs/release
Release Mergeback v.3.10.0
2 parents 5c137cb + 028e9c6 commit 0530499

File tree

3 files changed

+200
-12
lines changed

3 files changed

+200
-12
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,29 @@
22

33
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [v3.10.0](https://github.com/puppetlabs/puppetlabs-docker/tree/v3.10.0) (2020-04-23)
6+
7+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-docker/compare/v3.9.1...v3.10.0)
8+
9+
### Added
10+
11+
- \[IAC-291\] Convert acceptance tests to Litmus [\#585](https://github.com/puppetlabs/puppetlabs-docker/pull/585) ([carabasdaniel](https://github.com/carabasdaniel))
12+
- Updated: Add Docker service \(create, remote, scale\) tasks [\#582](https://github.com/puppetlabs/puppetlabs-docker/pull/582) ([Flask](https://github.com/Flask))
13+
- Add after\_start and after\_stop options to docker::run define [\#580](https://github.com/puppetlabs/puppetlabs-docker/pull/580) ([jantman](https://github.com/jantman))
14+
- Make docker::machine::url configurable [\#569](https://github.com/puppetlabs/puppetlabs-docker/pull/569) ([baurmatt](https://github.com/baurmatt))
15+
- Let docker.service start docker services managed by puppetlabs/docker… [\#563](https://github.com/puppetlabs/puppetlabs-docker/pull/563) ([jhejl](https://github.com/jhejl))
16+
- Allow bypassing curl package ensure if needed [\#477](https://github.com/puppetlabs/puppetlabs-docker/pull/477) ([esalberg](https://github.com/esalberg))
17+
18+
### Fixed
19+
20+
- Enforce TLS1.2 on Windows; minor fixes for RH-based testing [\#603](https://github.com/puppetlabs/puppetlabs-docker/pull/603) ([carabasdaniel](https://github.com/carabasdaniel))
21+
- \[MODULES-10628\] Update documentation for docker volume and set options as parameter [\#599](https://github.com/puppetlabs/puppetlabs-docker/pull/599) ([carabasdaniel](https://github.com/carabasdaniel))
22+
- Allow module to work on SLES [\#591](https://github.com/puppetlabs/puppetlabs-docker/pull/591) ([npwalker](https://github.com/npwalker))
23+
- \(maint\) Fix missing stubs in docker\_spec.rb [\#589](https://github.com/puppetlabs/puppetlabs-docker/pull/589) ([Filipovici-Andrei](https://github.com/Filipovici-Andrei))
24+
- Add Hiera lookups for resources in init.pp [\#586](https://github.com/puppetlabs/puppetlabs-docker/pull/586) ([fe80](https://github.com/fe80))
25+
- Use standardized quote type to help tests pass [\#566](https://github.com/puppetlabs/puppetlabs-docker/pull/566) ([DLeich](https://github.com/DLeich))
26+
- Minimal changes to work with podman-docker [\#562](https://github.com/puppetlabs/puppetlabs-docker/pull/562) ([seriv](https://github.com/seriv))
27+
528
## [v3.9.1](https://github.com/puppetlabs/puppetlabs-docker/tree/v3.9.1) (2020-01-17)
629

730
[Full Changelog](https://github.com/puppetlabs/puppetlabs-docker/compare/v3.9.0...v3.9.1)

REFERENCE.md

Lines changed: 176 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
**Classes**
77

88
* [`docker`](#docker):
9-
* [`docker::compose`](#dockercompose):
9+
* [`docker::compose`](#dockercompose): [*curl_ensure*] Whether or not the curl package is ensured by this module. Defaults to true
1010
* [`docker::config`](#dockerconfig): == Class: docker::config
1111
* [`docker::images`](#dockerimages): docker::images
1212
* [`docker::install`](#dockerinstall):
@@ -62,14 +62,15 @@
6262
* [`node_ls`](#node_ls): List nodes in the swarm
6363
* [`node_rm`](#node_rm): Update a node
6464
* [`node_update`](#node_update): Update a node
65-
* [`service_create`](#service_create): Create one service
66-
* [`service_rm`](#service_rm): Removes an existing service.
65+
* [`service_create`](#service_create): Create a new Docker service
66+
* [`service_rm`](#service_rm): Remove one replicated service
6767
* [`service_scale`](#service_scale): Scale one replicated service
6868
* [`service_update`](#service_update): Updates an existing service.
6969
* [`swarm_init`](#swarm_init): Initializes a swarm
7070
* [`swarm_join`](#swarm_join): Join a swarm
7171
* [`swarm_leave`](#swarm_leave): Leave a swarm
7272
* [`swarm_token`](#swarm_token): Gets the swarm token from the master
73+
* [`swarm_update`](#swarm_update): Updates an existing service.
7374

7475
## Classes
7576

@@ -1019,7 +1020,9 @@ Default value: $docker::params::nuget_package_provider_version
10191020

10201021
### docker::compose
10211022

1022-
The docker::compose class.
1023+
[*curl_ensure*]
1024+
Whether or not the curl package is ensured by this module.
1025+
Defaults to true
10231026

10241027
#### Parameters
10251028

@@ -1081,6 +1084,14 @@ Data type: `Optional[String]`
10811084

10821085
Default value: `undef`
10831086

1087+
##### `curl_ensure`
1088+
1089+
Data type: `Optional[Boolean]`
1090+
1091+
1092+
1093+
Default value: $docker::params::curl_ensure
1094+
10841095
### docker::config
10851096

10861097
== Class: docker::config
@@ -1179,6 +1190,14 @@ Class to install Docker Machine using the recommended curl command.
11791190
[*proxy*]
11801191
Proxy to use for downloading Docker Machine.
11811192

1193+
[*url*]
1194+
The URL from which the docker machine binary should be fetched
1195+
Defaults to a auto determined value based on version, kernel and OS.
1196+
1197+
[*curl_ensure*]
1198+
Whether or not the curl package is ensured by this module.
1199+
Defaults to true
1200+
11821201
#### Parameters
11831202

11841203
The following parameters are available in the `docker::machine` class.
@@ -1215,6 +1234,22 @@ Data type: `Optional[String]`
12151234

12161235
Default value: `undef`
12171236

1237+
##### `url`
1238+
1239+
Data type: `Optional[Variant[Stdlib::HTTPUrl, Stdlib::HTTPSUrl]]`
1240+
1241+
1242+
1243+
Default value: `undef`
1244+
1245+
##### `curl_ensure`
1246+
1247+
Data type: `Optional[Boolean]`
1248+
1249+
1250+
1251+
Default value: $docker::params::curl_ensure
1252+
12181253
### docker::networks
12191254

12201255
docker::networks
@@ -2836,7 +2871,7 @@ Data type: `Variant[String,Array,Undef]`
28362871

28372872

28382873

2839-
Default value: []
2874+
Default value: ['docker.service']
28402875

28412876
##### `tty`
28422877

@@ -2884,6 +2919,22 @@ Data type: `Variant[String,Boolean]`
28842919

28852920

28862921

2922+
Default value: `false`
2923+
2924+
##### `after_start`
2925+
2926+
Data type: `Variant[String,Boolean]`
2927+
2928+
2929+
2930+
Default value: `false`
2931+
2932+
##### `after_stop`
2933+
2934+
Data type: `Variant[String,Boolean]`
2935+
2936+
2937+
28872938
Default value: `false`
28882939

28892940
##### `after_create`
@@ -3590,10 +3641,6 @@ Default value: present
35903641

35913642
The volume driver used by the volume
35923643

3593-
##### `options`
3594-
3595-
Additional options for the volume driver
3596-
35973644
##### `mountpoint`
35983645

35993646
The location that the volume is mounted to
@@ -3608,6 +3655,10 @@ namevar
36083655

36093656
The name of the volume
36103657

3658+
##### `options`
3659+
3660+
Additional options for the volume driver
3661+
36113662
## Functions
36123663

36133664
### docker::sanitised_name
@@ -3824,11 +3875,93 @@ Data type: `Optional[Enum['manager', 'worker']]`
38243875

38253876
Role of the node
38263877

3878+
##### `label_add`
3879+
3880+
Data type: `Optional[Array]`
3881+
3882+
Add or update a node label (key=value)
3883+
3884+
##### `label_rm`
3885+
3886+
Data type: `Optional[Array]`
3887+
3888+
Remove a node label if exists.
3889+
38273890
##### `node`
38283891

38293892
Data type: `String[1]`
38303893

3831-
Hostname or ID of the node in the swarm
3894+
ID of the node in the swarm
3895+
3896+
### service_create
3897+
3898+
Create a new Docker service
3899+
3900+
**Supports noop?** false
3901+
3902+
#### Parameters
3903+
3904+
##### `service`
3905+
3906+
Data type: `String[1]`
3907+
3908+
The name of the service to create
3909+
3910+
##### `image`
3911+
3912+
Data type: `String[1]`
3913+
3914+
The new image to use for the service
3915+
3916+
##### `replicas`
3917+
3918+
Data type: `Integer`
3919+
3920+
Number of replicas
3921+
3922+
##### `expose`
3923+
3924+
Data type: `Variant[String,Array,Undef]`
3925+
3926+
Publish service ports externally to the swarm
3927+
3928+
##### `env`
3929+
3930+
Data type: `Optional[Hash]`
3931+
3932+
Set environment variables
3933+
3934+
##### `command`
3935+
3936+
Data type: `Variant[String,Array,Undef]`
3937+
3938+
Command to run on the container
3939+
3940+
##### `extra_params`
3941+
3942+
Data type: `Optional[Array]`
3943+
3944+
Allows you to pass any other flag that the Docker service create supports.
3945+
3946+
##### `detach`
3947+
3948+
Data type: `Optional[Boolean]`
3949+
3950+
Exit immediately instead of waiting for the service to converge
3951+
3952+
### service_rm
3953+
3954+
Remove one replicated service
3955+
3956+
**Supports noop?** false
3957+
3958+
#### Parameters
3959+
3960+
##### `service`
3961+
3962+
Data type: `String[1]`
3963+
3964+
Name or ID of the service
38323965

38333966
### service_scale
38343967

@@ -3850,12 +3983,44 @@ Data type: `Integer`
38503983

38513984
Number of replicas
38523985

3853-
##### `detatch`
3986+
##### `detach`
38543987

38553988
Data type: `Optional[Boolean]`
38563989

38573990
Exit immediately instead of waiting for the service to converge
38583991

3992+
### service_update
3993+
3994+
Updates an existing service.
3995+
3996+
**Supports noop?** false
3997+
3998+
#### Parameters
3999+
4000+
##### `service`
4001+
4002+
Data type: `String[1]`
4003+
4004+
The service to update
4005+
4006+
##### `image`
4007+
4008+
Data type: `String[1]`
4009+
4010+
The new image to use for the service
4011+
4012+
##### `constraint_add`
4013+
4014+
Data type: `Optional[Array]`
4015+
4016+
Add or update a service constraint (selector==value, selector!=value)
4017+
4018+
##### `constraint_rm`
4019+
4020+
Data type: `Optional[Array]`
4021+
4022+
Remove a service constraint if exists.
4023+
38594024
### swarm_init
38604025

38614026
Initializes a swarm

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "puppetlabs-docker",
3-
"version": "3.9.1",
3+
"version": "3.10.0",
44
"author": "puppetlabs",
55
"summary": "Module for installing and managing docker",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)