Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle compose files with services that have no image #373

Merged
merged 1 commit into from
Nov 27, 2018

Conversation

walkamongus
Copy link
Contributor

I ran into this issue when using Puppet to deploy Harbor. Harbor (https://github.com/goharbor/harbor/releases/tag/v1.6.1) comes with multiple compose files and some of them contain services that do not have images associated with them. I needed to build a deep-merged hash of compose services and a array of unique containers from all compose files and move the service vs. container count checking outside of the compose_files.each loop in order to get an accurate comparison of services and their related images.

@davejrt
Copy link
Contributor

davejrt commented Nov 27, 2018

LGTM

@davejrt davejrt merged commit 2d3f4d6 into puppetlabs:master Nov 27, 2018
@davejrt davejrt added this to the 3.2.0 milestone Jan 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants