Skip to content

Commit eb4a440

Browse files
Merge pull request #537 from jacksgt/deploy-flags
Clarify usage of docker_stack type up_args and fix link to docs
2 parents 20beca4 + d0a4f6f commit eb4a440

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ Please note you should supply your master docker-compose file as the first eleme
657657

658658
If you are using a v3.2 compose file or above on a Docker Swarm cluster, use the `docker::stack` class. Include the file resource before you run the stack command.
659659

660-
NOTE: this define will be deprecated in a future release in favor of the [docker stack type](#types)
660+
NOTE: this define will be deprecated in a future release in favor of the [docker stack type](REFERENCE.md#docker_stack)
661661

662662
To deploy the stack, add the following code to the manifest file:
663663

@@ -681,15 +681,17 @@ docker::stack { 'yourapp':
681681
ensure => present,
682682
stack_name => 'yourapp',
683683
compose_files => ['/tmp/docker-compose.yaml'],
684+
with_registry_auth => true,
684685
require => [Class['docker'], File['/tmp/docker-compose.yaml']],
685686
}
686687
```
687688

688-
To use use the equivalent type and provier, use the following in your manfiest file. For more information on specific parameters see the documentation for [here](#Types)
689+
To use use the equivalent type and provier, use the following in your manfiest file. For more information on specific parameters see the [docker_stack type documentation](REFERENCE.md#docker_stack).
689690
```puppet
690691
docker_stack { 'test':
691692
compose_files => ['/tmp/docker-compose.yml'],
692693
ensure => present,
694+
up_args => '--with-registry-auth',
693695
}
694696
```
695697

0 commit comments

Comments
 (0)