ffredrikk

sls - installs quicktime just fine

Feb 19th, 2016
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.59 KB | None | 0 0
  1. {% if salt['environ.get']('SALTED_QUICKTIME') != '1' %}
  2. quicktime_download:
  3.   module.run:
  4.     - name: cp.get_url
  5.     - path: https://secure-appldnld.apple.com/QuickTime/031-43075-20160107-C0844134-B3CD-11E5-B1C0-43CA8D551951/QuickTimeInstaller.exe
  6.     - dest: C:/Users/iruser/Downloads/QuickTimeInstaller.exe
  7.  
  8. quicktime_install:
  9.   cmd.run:
  10.     - cwd: C:/Users/iruser/Downloads
  11.     - name: C:/Users/iruser/Downloads/QuickTimeInstaller.exe /quiet /norestart ALLUSERS=1
  12.  
  13. quicktime_setenv:
  14.   environ.setenv:
  15.     - name: SALTED_QUICKTIME
  16.     - value: '1'
  17.     - update_minion: True
  18. {% endif %}
Add Comment
Please, Sign In to add comment