-
-
Save eliasp/ab3133a8e4aa58fdea28 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
microsoft.office: | |
15.0.4420.1017: # 2013 | |
installer: salt://win/repo/microsoft/office/2013/setup.exe | |
full_name: Microsoft Office Professional Plus 2013 | |
reboot: False | |
install_flags: ' /adminfile microsoft.office.2013.msp' | |
msiexec: False | |
uninstaller: salt://win/repo/microsoft/office/2013/setup.exe | |
uninstall_flags: ' /uninstall' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TODO: Find a better way to do this. Currently, the win_repo will only sync the installer-file itself to the client | |
# which will cause trouble in case the installation requires more files than simply a single MSI package or EXE file | |
office-installer-files: | |
{% if 'microsoft.office' in salt['pkg.list_pkgs']() %} | |
file.absent: | |
- name: c:\salt\var\cache\salt\minion\files\base\win\repo\microsoft\office\2013 | |
{% else %} | |
file.recurse: | |
- name: c:\salt\var\cache\salt\minion\files\base\win\repo\microsoft\office\2013 | |
- source: salt://win/repo/microsoft/office/2013 | |
{% endif %} | |
microsoft.office: | |
pkg: | |
- installed | |
- allow_updates: True | |
- require: | |
- file: office-installer-files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment