Description
win_iis.deployed does not update the values, if the site exists in IIS with some other configuration settings.
Setup
pillar:
- siteName: 'mysite'
sourcePath: 'C:\\inetpub\\mysite
appPool: 'somepool'
port: 81
protocol: 'http'
salt:
add_{{ sites['siteName'] }}_site":
win_iis.deployed:
- name: {{ sites['siteName'] }}
- sourcepath: {{ sites['sourcePath'] }}
- apppool: {{ sites['appPool'] }}
- port: {{ sites['port'] }}
- protocol: {{ sites['protocol'] }}
Steps to Reproduce the behavior
- Run the above state with some values.
- Expect the site to be created.
- Update port from 81 to 82 and rerun
Expected behavior
It should update the port for that site in IIS
Screenshots
Result: comment: Site already present: mysite
Versions Report
master version: 2017.7.4 (Nitrogen) - this is on Ubuntu
minions version: - 3002.5 - this is on windows
Description
win_iis.deployed does not update the values, if the site exists in IIS with some other configuration settings.
Setup
pillar:
salt:
Steps to Reproduce the behavior
Expected behavior
It should update the port for that site in IIS
Screenshots
Result: comment: Site already present: mysite
Versions Report
master version: 2017.7.4 (Nitrogen) - this is on Ubuntu
minions version: - 3002.5 - this is on windows