I use AutoPkgr (mac program, https://github.com/lindegroup/autopkgr/releases ) to automatically check for updates, download, and generate packages out of Driver Packs and Bios updates ( https://github.com/jeremylarose/autopkg-recipes ) daily. … Then I use Salt ( https://docs.saltstack.com/en/latest/ ) to deploy them, with this simple state…
{% set model = grains[‘productname’] %}
‘c:\salt\drivers{{ model }}.exe’:
file.managed:
- source: ‘salt://win/drivers/win10/{{ model }}.exe’
- makedirs: True
install_drivers:
cmd.run:
- name: ‘“c:\salt\drivers{{ model }}.exe”’
- onchanges:
- file: ‘c:\salt\drivers{{ model }}.exe’