Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
IIS 4.5.0
-
None
-
-
Windows
-
1
-
Windows 2018-12-19
-
Needs Assessment
Description
Basic Info
Module Version: 4.5.0
Puppet Version: 5.x
OS Name/Version: windows 2012 R2
When attempting to manage the physicalpath of an iis_application, the drive letter for the current value of path is compared case sensitively to the value that Puppet is enforcing.
Testing will be required to determine if the entire path comparison is case sensitive, or just the drive letter.
This behavior is unexpected for Windows users who expect case insensitive comparisons for drive paths. Since ruby is case sensitive even on Windows, some additional safeguards will have to put in place to ensure comparisons are done in the manner Windows users expect.
The result is that even though the path in the application is most likely correct, Puppet thinks the value is different and attempts to make a change. The PowerShell command that results is most likely not actually changing anything as the value is already correct, but the below message is seen with each Puppet run.
Notice: /Stage[main]/Profiles::Iis/Iis_application[Api]/physicalpath: physicalpath changed 'C:\inetpub\wwwroot\Api' to 'c:\inetpub\wwwroot\Api' |
Notice: Applied catalog in 9.76 seconds |
Desired Behavior:
Puppet should compare path values case insensitively, and not attempt to change a path value that is already correct.
Actual Behavior:
Puppet compares case sensitively and erroneously believe a path is incorrect and needs to be updated.
Attachments
Issue Links
- is duplicated by
-
MODULES-8369 IIS : The iis_site resource has case sensitive comparisons
-
- Closed
-
-
MODULES-8370 IIS: virtual_directory resource has vase sensitive properties
-
- Closed
-
- relates to
-
MODULES-8361 (SPIKE) IIS : Find case sensitive path comparisons
-
- Closed
-