Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iis_config not idempotent #366

Closed
scolligan opened this issue May 16, 2017 · 1 comment
Closed

iis_config not idempotent #366

scolligan opened this issue May 16, 2017 · 1 comment

Comments

@scolligan
Copy link

Cookbook version

6.5.2

Chef-client version

13.0.118

Platform Details

Windows Server 2012 R2 on Azure

Scenario:

The set action for iis_config executes each time chef client runs.

Steps to Reproduce:

I used the example from the readme/help page:

Sets up logging

iis_config "/section:system.applicationHost/sites /siteDefaults.logfile.directory:"D:\logs"" do
action :set
end

Expected Result:

This should execute once.

Actual Result:

This executes on each run of the chef client:

  • iis_config[/section:system.applicationHost/sites /siteDefaults.logfile.directory:"D:\logs"] action set[2017-05-16T16
    :57:09-05:00] INFO: Processing iis_config[/section:system.applicationHost/sites /siteDefaults.logfile.directory:"D:\logs
    "] action set (jjk_ts_transport_webserver::default line 41)

    • Executing IIS Config set
@EasyAsABC123
Copy link
Contributor

Duplicate #276

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants