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

IIS : iis_site does not allow names with valid characters

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Done
    • None
    • None
    • iis
    • puppetlabs-iis 4.0.0

    • 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
    • Windows
    • Needs 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support