Skip to content

[BUG] 2017.7 win_iis.deployed does not update values #59780

Open

Description

@iHarshalAgarwal

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

  1. Run the above state with some values.
  2. Expect the site to be created.
  3. 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

Activity

  1. added
    bug
    on Mar 11, 2021
  2. welcome commented on Mar 11, 2021

    @welcome

    Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
    Please be sure to review our Code of Conduct. Also, check out some of our community resources including:

    There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar.
    If you have additional questions, email us at [email protected]. We’re glad you’ve joined our community and look forward to doing awesome things with you!

  3. sagetherage commented on Mar 11, 2021

    @sagetherage
    Contributor

    @iHarshalAgarwal your master is running an unsupported version of Salt are you able to upgrade to something that is supported? >v3000 See our Platform Support Page for details

  4. added
    needs-more-info
    on Mar 11, 2021
  5. self-assigned this
    on Mar 11, 2021
  6. added this to the Blocked milestone on Mar 11, 2021
  7. iHarshalAgarwal commented on Mar 12, 2021

    @iHarshalAgarwal
    Author

    I'll look at it. Thanks @sagetherage

  8. changed the title [-]win_iis.deployed does not update values[/-] [+][BUG] 2017.7 win_iis.deployed does not update values[/+] on Mar 15, 2021
  9. twangboy commented on Apr 16, 2021

    @twangboy
    Contributor

    Yeah, looks like the state only checks for the presence of the site and nothing else.

  10. added
    severity-high
    and removed
    needs-more-info
    on Apr 16, 2021
  11. 2 remaining items

  12. added
    Phosphorus v3005.0
    on Jun 18, 2021
  13. added
    Sulfur v3006.0
    and removed
    Phosphorus v3005.0
    on Mar 2, 2022
  14. removed
    Sulfur v3006.0
    on Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

State-ModuleWindowsbugseverity-high

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions