diff --git a/lib/puppet/provider/docker_compose/ruby.rb b/lib/puppet/provider/docker_compose/ruby.rb index 991ddc9f..c78f3fe7 100644 --- a/lib/puppet/provider/docker_compose/ruby.rb +++ b/lib/puppet/provider/docker_compose/ruby.rb @@ -27,7 +27,7 @@ def exists? compose_containers.uniq! # rubocop:enable Style/StringLiterals case compose_file['version'] - when %r{^2(\.[0-3])?$}, %r{^3(\.[0-6])?$} + when %r{^2(\.[0-3])?$}, %r{^3(\.\d+)?$} compose_services.deep_merge!(compose_file['services']) # in compose v1 "version" parameter is not specified when nil