Skip to content

Commit

Permalink
fix: enable clean run with out issue
Browse files Browse the repository at this point in the history
Issue is clean stops the docker.service but does not appear to uninstall
`docker` still runs at cli but services are no longer present
`apt list --installed | grep docker ` lists following
```
docker-ce-cli/buster,now 5:20.10.6~3-0~raspbian-buster armhf [installed,automatic]
docker-ce-rootless-extras/buster,now 5:20.10.6~3-0~raspbian-buster armhf [installed,automatic]
docker-ce/buster,now 5:20.10.6~3-0~raspbian-buster armhf [installed]
docker-compose/stable,now 1.21.0-3 all [installed]
golang-docker-credential-helpers/stable,now 0.6.1-2 armhf [installed,automatic]
python3-docker/stable,now 3.4.1-4 all [installed]
python3-dockerpty/stable,now 0.4.1-1 all [installed,automatic]
python3-dockerpycreds/stable,now 0.3.0-1 all [installed,automatic]
```
compose does get uninstalled
  • Loading branch information
SLLau committed Aug 22, 2021
1 parent 9c70ea2 commit 9e6e59d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/software/package/clean.sls
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{%- if grains.kernel|lower in ('linux',) %}
{%- if d.pkg.docker.use_upstream == 'repo' %}
include:
- .package.repo.clean
- .repo.clean
{%- endif %}
{{ formula }}-software-package-clean-pkg:
Expand All @@ -18,7 +18,7 @@ include:
- reload_modules: {{ d.misc.reload|default(true, true) }}
{%- if d.pkg.docker.use_upstream == 'repo' %}
- require:
- pkgrepo: {{ formula }}-package-repo-absent
- pkgrepo: {{ formula }}-software-package-repo-absent
{%- endif %}
{%- elif grains.os_family == 'MacOS' %}
Expand Down

0 comments on commit 9e6e59d

Please sign in to comment.