I have the following sls file:
python:
pkg.installed:
- pkgs:
- python2_x64
How can I edit this file to make sure pkg.refresh_db
is executed prior to attepting to install Python?
I can manually run the refresh like this: salt -G 'os:windows' pkg.refresh_db
pkg:
module.run:
- name: pkg.refresh_db
python:
pkg.installed:
- pkgs:
- python2_x64