Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-5443

IIS : iis_site does not allow names with valid characters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: iis
    • Labels:
    • Environment:

      puppetlabs-iis 4.0.0

    • Template:
      MODULES Bug Template
    • Acceptance Criteria:
      Hide

      As an administrator
      I want to be able to use "." in physicalpath title/names without a puppet validation error
      So that I can use dns names

      As an administrator
      I want to be able to use non-us-EN characters as site names
      So that I can name things in non-english languages

      Show
      As an administrator I want to be able to use "." in physicalpath title/names without a puppet validation error So that I can use dns names As an administrator I want to be able to use non-us-EN characters as site names So that I can name things in non-english languages
    • Epic Link:
    • Team:
      Windows
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Users cannot create sites with '.' in the name. For example:

        iis_site { 'example.com':
          ensure           => 'present',
          physicalpath     => 'C:\inetpub\wwwroot\example.com',
        }
      

      This is caused by the regex here:

      https://github.com/puppetlabs/puppetlabs-iis/blob/master/lib/puppet/type/iis_site.rb#L40

      And repeated here:

      https://github.com/puppetlabs/puppetlabs-iis/search?q=Z0

      I haven't found an official list of valid characters, but "." is valid via PowerShell or the GUI.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michael.lombardi Michael Lombardi
              Reporter:
              tom.kishel Thomas Kishel
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support