Commit 74bb531
committed
(MODULES-11645) Ignore services with restart option as 'no' in exists? method
Services who have restart option set as 'no' are meant to be batch processing jobs which terminate once completed.
Docker compose does not restart them, but in the exists? method, puppet looks for a running service. When it is unable to see a running service, it incorrectly assumes non-desired state and makes a corrective change.
This commit rejects services with restart 'no' from the compose_services to mitigate this bug.1 parent aded8fc commit 74bb531
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
| |||
0 commit comments