Skip to content

Commit

Permalink
fix(clean): remove containers/compose before software
Browse files Browse the repository at this point in the history
  • Loading branch information
noelmcloughlin committed Aug 25, 2021
1 parent 3e1ca76 commit 476bfeb
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker/clean.sls
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# vim: ft=sls

include:
# .containers.clean
# .compose.clean
- .containers.clean
- .compose.clean
- .software.clean
1 change: 0 additions & 1 deletion docker/osfamilymap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ RedHat:
pkg:
deps:
- python3-pip
# python3-docker
- iptables
- git
- tar
Expand Down
1 change: 1 addition & 0 deletions docker/osfingermap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ CentOS Linux-7:
- selinux-policy-minimum
- yum-plugin-versionlock
- python3-pip
- python3-docker
- iptables
- git
- tar
Expand Down
4 changes: 3 additions & 1 deletion docker/software/package/clean.sls
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ include:
{%- if grains.kernel|lower in ('linux', 'darwin') %}
{{ formula }}-software-package-clean-pkg:
pkg.removed:
- name: {{ d.pkg.docker.name }}
- names:
- {{ d.pkg.docker.name }}
- python3-docker
- reload_modules: {{ d.misc.reload|default(true, true) }}
{%- if enable_repo %}
- require:
Expand Down
1 change: 1 addition & 0 deletions kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,7 @@ suites:
base:
'*':
- docker._mapdata
- docker
- docker.clean
pillars:
top.sls:
Expand Down

0 comments on commit 476bfeb

Please sign in to comment.