From 1e124eb4131bafe9281ce8eb9a5d42add0d2e436 Mon Sep 17 00:00:00 2001 From: Daniel Henninger Date: Wed, 7 Aug 2024 12:45:16 -0400 Subject: [PATCH] Move up_args after the up command. --- lib/puppet/provider/docker_compose/ruby.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/puppet/provider/docker_compose/ruby.rb b/lib/puppet/provider/docker_compose/ruby.rb index b1c1b15f..a298aba7 100644 --- a/lib/puppet/provider/docker_compose/ruby.rb +++ b/lib/puppet/provider/docker_compose/ruby.rb @@ -74,7 +74,7 @@ def get_image(service_name, compose_services) def create Puppet.info("Running compose project #{name}") - args = ['compose', compose_files, '-p', name, 'up', '-d', '--remove-orphans'].insert(3, resource[:options]).insert(5, resource[:up_args]).compact + args = ['compose', compose_files, '-p', name, 'up', '-d', '--remove-orphans'].insert(3, resource[:options]).insert(6, resource[:up_args]).compact docker(args) return unless resource[:scale]