-
-
Notifications
You must be signed in to change notification settings - Fork 178
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_vdir not idempotent when using config action #374
Labels
Priority: Medium
Will bring visible benefit to the project
Comments
I'll look at this today or tomorrow
…On Thu, Jun 1, 2017 at 5:42 PM scolligan ***@***.***> wrote:
Cookbook version
6.5.3
Chef-client version
13.1.31
Platform Details
Windows Server 2012 R2 on Azure
Scenario:
The iis_vdir resource isn't idempotent with the config action.
Steps to Reproduce:
# create site
iis_vdir "#{virtual_site_name}/" do
path virtual_attributes['path']
physical_path virtual_physical_path.tr('/', '\\')
action [:add, :config]
end
Expected Result:
No changes after the vdir is added.
Actual Result:
This occurs on each run:
* iis_vdir[www.drivermanagement.com/] action add[2017-06-01T16:33:16-05:00] INFO: Processing iis_vdir[www.drivermanagement.com/] action add (jjk_ts_transport_webserver_website_drivermanagement::default line 257)
[2017-06-01T16:33:16-05:00] WARN: application name: www.drivermanagement.com/
[2017-06-01T16:33:16-05:00 <http://www.drivermanagement.com/%5B2017-06-01T16:33:16-05:00>] WARN: application name chomp: www.drivermanagement.com
(up to date)
* iis_vdir[www.drivermanagement.com/] action config[2017-06-01T16:33:16-05:00] INFO: Processing iis_vdir[www.drivermanagement.com/] action config (jjk_ts_transport_webserver_website_drivermanagement::default line 257)
[2017-06-01T16:33:16-05:00] WARN: application name: www.drivermanagement.com/
[2017-06-01T16:33:16-05:00 <http://www.drivermanagement.com/%5B2017-06-01T16:33:16-05:00>] WARN: application name chomp: www.drivermanagement.com
- Configured the VDIR - "iis_vdir[www.drivermanagement.com/]"
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#374>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABw-4AfIfEd_9HA3iH-mmSoT-zUAaZpzks5r_zAygaJpZM4NtlP9>
.
|
4 tasks
EasyAsABC123
added
Priority: Medium
Will bring visible benefit to the project
Status: In Progress
labels
Jun 2, 2017
This is resolved by #375, there are more issues in |
Thank @EasyAsABC123 ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cookbook version
6.5.3
Chef-client version
13.1.31
Platform Details
Windows Server 2012 R2 on Azure
Scenario:
The iis_vdir resource isn't idempotent with the config action.
Steps to Reproduce:
Expected Result:
No changes after the vdir is added.
Actual Result:
This occurs on each run:
The text was updated successfully, but these errors were encountered: