Describe the Bug
When I define up_args in docker_compose they are inserted before the up command causing an error in the puppet run.
Example
docker_compose { 'application':
ensure => present,
up_args => '--build',
}
}
Produces the following line, which fails
docker compose -f /opt/app/docker-compose.yml -p config-webapp --build up -d --remove-orphans
Expected Behavior
The following line should be generated and executed
docker compose -f /opt/app/docker-compose.yml -p application up -d --build --remove-orphans
Steps to Reproduce
Steps to reproduce the behavior:
Use the above compose code
Environment
- Version [7.37.2]
- Platform [Ubuntu 24.04]
Additional Context
Add any other context about the problem here.
Describe the Bug
When I define up_args in docker_compose they are inserted before the up command causing an error in the puppet run.
Example
Produces the following line, which fails
Expected Behavior
The following line should be generated and executed
Steps to Reproduce
Steps to reproduce the behavior:
Use the above compose code
Environment
Additional Context
Add any other context about the problem here.