Skip to content

Instantly share code, notes, and snippets.

@kedare
Last active May 25, 2017 15:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kedare/79d9c9117333351da0a45cc5fe35b02b to your computer and use it in GitHub Desktop.
Save kedare/79d9c9117333351da0a45cc5fe35b02b to your computer and use it in GitHub Desktop.
Get the Automapper module:
file.recurse:
- name: C:\temp\gac\automapper\
- source: salt://windows/automapper/
Get the IIS rewrite module:
file.recurse:
- name: C:\temp\gac\iis\
- source: salt://windows/iis/
Install specific GAC modules:
cmd.script:
- source: salt://windows/gac/install-required-modules.ps1
- shell: powershell
- require:
- cmd: Get the Automapper module
- cmd: Get the IIS rewrite module
Clean temporary files:
file.absent:
- name: C:\temp\gac\
- require:
- cmd: Install specific GAC modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment