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

MODULES-11188: trim physicalpath for iis_application resource #330

Merged
merged 4 commits into from
Mar 10, 2022

Conversation

adrianiurca
Copy link
Contributor

No description provided.

@adrianiurca adrianiurca self-assigned this Oct 6, 2021
@adrianiurca adrianiurca requested a review from a team as a code owner October 6, 2021 04:27
@puppet-community-rangefinder
Copy link

iis_application is a type

that may have no external impact to Forge modules.

This module is declared in 4 of 578 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

@chelnak chelnak assigned LukasAud and unassigned adrianiurca Mar 1, 2022
@chelnak
Copy link
Contributor

chelnak commented Mar 1, 2022

@LukasAud is going to be pushing this PR through along with some new changes.

@BartoszBlizniak
Copy link

I have tested the latest change with the code supplied in the Jira ticket and everything works as expected now.

@LukasAud LukasAud force-pushed the modules-11188 branch 3 times, most recently from 55991f9 to b850189 Compare March 10, 2022 10:56
Prior to this commit, there was an attempt to fix an issue where puppet
could not handle a trailing '/' at the end of a physicalpath. While it
stopped users from creating resources with trailing '/', it did not fix
existing IIS entities that already had the trailing '/'.

This commit aims to complement the previous code by removing trailing
'/' in physicalpaths for existing resources.
Prior to this commit there were some unit tests that would fail due to
the additional checks inserted in the latest fix. Some of the previous
code would also not work as intended and lint was throwing warnings at
some formatting choices made.

This commit aims to provide a number of small fixes to deal with both,
lint warnings and small errors in previous code that would make unit
tests fail.
Prior to this commit several fixes were implemented to deal with the
problem described in the JIRA ticket MODULES-11188. As a result of those
changes, the behaviour of the module regarding physicalpaths was
slighly altered.

This commit aims to update the README file to inform users about the
previously existing issue and the measures that the module will take to
deal with it.
Copy link
Member

@david22swan david22swan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Failure on test's is a transient timeout

@david22swan david22swan merged commit 56e9b46 into main Mar 10, 2022
@david22swan david22swan deleted the modules-11188 branch March 10, 2022 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants