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

puppet-tomcat does not handle multiple connectors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: tomcat
    • Labels:
    • Template:

      Description

      You cannot have multiple connectors in tomcat, the augeas rules are wrong, and they keep replacing each other.

      puppet-tomcat 1.3.0-8-g448096f

        tomcat::config::server::connector { 'bibliocommons':
          connector_ensure      => 'present',
          port                  => 8443,
          protocol              => 'HTTP/1.1',
          notify                => Tomcat::Service['default'],
          additional_attributes => {
            'acceptCount'          => '100',
            'clientAuth'           => true,
            'compressableMimeType' => 'text/html,text/xml',
            'compressionMinSize'   => '2048',
            'compression'          => 'on',
            'disableUploadTimeout' => true,
            'enableLookups'        => false,
            'keystoreFile'         => 'conf/ilsclient.jks',
            'maxHttpHeaderSize'    => '8192',
            'maxSpareThreads'      => '75',
            'maxThreads'           => '150',
            'minSpareThreads'      => '25',
            'scheme'               => 'https',
            'secure'               => true,
            'SSLEnabled'           => true,
            'sslProtocol'          => 'TLS',
            'truststoreFile'       => 'conf/ilsclient.jks',
          },
        }
       
        tomcat::config::server::connector { 'bibliocommons':
          connector_ensure      => 'present',
          port                  => 8444,
          protocol              => 'HTTP/1.1',
          notify                => Tomcat::Service['default'],
          additional_attributes => {
            'acceptCount'          => '100',
            'clientAuth'           => false,
            'compressableMimeType' => 'text/html,text/xml',
            'compressionMinSize'   => '2048',
            'compression'          => 'on',
            'disableUploadTimeout' => true,
            'enableLookups'        => false,
            'keystoreFile'         => 'conf/ilsclient.jks',
            'maxHttpHeaderSize'    => '8192',
            'maxSpareThreads'      => '75',
            'maxThreads'           => '150',
            'minSpareThreads'      => '25',
            'scheme'               => 'https',
            'secure'               => true,
            'SSLEnabled'           => true,
            'sslProtocol'          => 'TLS',
            'truststoreFile'       => 'conf/ilsclient.jks',
          },
        }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              robbat2 Robin Johnson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support