Merge pull request #6225 from Security-Onion-Solutions/clean_meta_data

clean metadata with cmd.run instead of pkg module due to False return…
This commit is contained in:
Josh Patterson
2021-11-15 11:03:41 -05:00
committed by GitHub

View File

@@ -68,8 +68,8 @@ yumconf:
{% endif %}
cleanyum:
module.run:
- pkg.clean_metadata: []
cmd.run:
- name: 'yum clean metadata'
- onchanges:
{% if ISAIRGAP %}
- file: airgapyum
@@ -80,4 +80,3 @@ cleanyum:
{% endif %}
{% endif %}