Skip to content

Commit 50936af

Browse files
authored
Merge branch 'puppetlabs:main' into main
2 parents 1b4e056 + 781f4f2 commit 50936af

File tree

4 files changed

+11
-40
lines changed

4 files changed

+11
-40
lines changed

.github/workflows/stale.yml

-36
This file was deleted.

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
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+
## [v6.0.2](https://github.com/puppetlabs/puppetlabs-docker/tree/v6.0.2) (2022-12-07)
6+
7+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-docker/compare/v6.0.1...v6.0.2)
8+
9+
### Fixed
10+
11+
- \(CONT-24\) docker_stack always redoploying [\#878](https://github.com/puppetlabs/puppetlabs-docker/pull/878) ([david22swan](https://github.com/david22swan))
12+
513
## [v6.0.1](https://github.com/puppetlabs/puppetlabs-docker/tree/v6.0.1) (2022-11-25)
614

715
[Full Changelog](https://github.com/puppetlabs/puppetlabs-docker/compare/v6.0.0...v6.0.1)

lib/puppet/provider/docker_compose/ruby.rb

+2-3
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,10 @@ def exists?
3030
args = [compose_files, '-p', name, 'config'].insert(3, resource[:options]).compact
3131
compose_output = Puppet::Util::Yaml.safe_load(execute([command(:dockercompose)] + args, combine: false), [Symbol])
3232

33-
# rubocop:disable Style/StringLiterals
3433
containers = docker([
3534
'ps',
3635
'--format',
37-
"{{.Label \"com.docker.compose.service\"}}-{{.Image}}",
36+
"'{{.Label \"com.docker.compose.service\"}}-{{.Image}}'",
3837
'--filter',
3938
"label=com.docker.compose.project=#{name}",
4039
]).split("\n")
@@ -49,7 +48,7 @@ def exists?
4948
counts = Hash[*compose_services.each.map { |key, array|
5049
image = (array['image']) ? array['image'] : get_image(key, compose_services)
5150
Puppet.info("Checking for compose service #{key} #{image}")
52-
[key, compose_containers.count("#{key}-#{image}")]
51+
[key, compose_containers.count("'#{key}-#{image}'")]
5352
}.flatten]
5453

5554
# No containers found for the project

metadata.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "puppetlabs-docker",
3-
"version": "6.0.1",
3+
"version": "6.0.2",
44
"author": "puppetlabs",
55
"summary": "Module for installing and managing docker",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)