1. 12 Nov, 2020 1 commit
  2. 10 Nov, 2020 1 commit
    • Ciaran McCrisken's avatar
      (IAC-1186) Add new $use_servername_for_filenames parameter · 7e233fe7
      Ciaran McCrisken authored
      Prior to this commit, the `$filename` variable, which is used to
      construct the filename of Apache's various config and log files,
      obtained it's default value from the `$name` parameter.
      
      As #2064 highlights, it is possible for `$name` to contain spaces
      in it and this can cause cumbersome log file names, albeit POSIX
      compliant.
      
      Also related is #2068, which changes the `$filename` variable source
      from `$name` to `$servername`. This arguably seems more appropriate,
      especially given that `$servername` defaults to `$name` if undefined.
      
      This commit attempts to create a satisfactory solution to both #2064
      and #2068 by introducing the `$use_servername_for_filenames` param.
      When set to `true`, a sanitized `$servername` parameter value will be
      used to construct `$filename`.
      
      When undefined or set to `$false`, it will retain the existing
      behaviour and use the `$name` parameter value.
      
      This will default to `false` until the next major release (v6.0.0),
      after which it will default to `true`. Then, in the subsequent major
      release (v7.0.0) it will be deprecated altogether and the default
      behaviour will be to use the sanitized value of `$servername` for the
      `$filename` var.
      
      Warning messages are output to the console to alert users of this
      change in behaviour.
      7e233fe7
  3. 04 Nov, 2020 2 commits
  4. 02 Nov, 2020 4 commits
  5. 26 Oct, 2020 5 commits
  6. 23 Oct, 2020 1 commit
    • Steve Traylen's avatar
      Support mod_auth_gssapi parameters · 891fdaf2
      Steve Traylen authored
      mod_auth_gssapi parameters can only used inside a directory section of a vhost.
      
      Parameters are specified as a hash `gssapi` to the directories parameter.
      
      Currently only the three obvious parameters are supported, adding extra ones is a
      trivial addition to the `_gssapi.epp` template.
      
      Example
      
      ```puppet
      include apache::mod::auth_gssapi
      apache::vhost { 'sample.example.net':
        docroot     => '/path/to/directory',
        directories => [
          { path   => '/path/to/different/dir',
            gssapi => {
              credstore => 'keytab:/foo/bar.keytab',
              localname => 'Off',
              sslonly   => 'On',
            }
          },
        ],
      ```
      
      These 3 values match to an apache configuration of
      
      ```config
      <Directory /path/to/directory>
        GssapiSSLonly Off
        GssapiLocalName On
        GssapiCredStore keytab:/foo/bar.keytab
      </Directory>
      ```
      
      https://github.com/gssapi/mod_auth_gssapi#gssapisslonly
      891fdaf2
  7. 12 Oct, 2020 1 commit
  8. 06 Oct, 2020 3 commits
  9. 05 Oct, 2020 1 commit
  10. 02 Oct, 2020 1 commit
  11. 01 Oct, 2020 2 commits
  12. 30 Sep, 2020 1 commit
  13. 29 Sep, 2020 2 commits
  14. 28 Sep, 2020 2 commits
  15. 25 Sep, 2020 1 commit
  16. 22 Sep, 2020 1 commit
  17. 16 Sep, 2020 1 commit
  18. 15 Sep, 2020 1 commit
  19. 14 Sep, 2020 2 commits
  20. 10 Sep, 2020 1 commit
  21. 09 Sep, 2020 1 commit
  22. 03 Sep, 2020 1 commit
  23. 27 Aug, 2020 2 commits
  24. 10 Aug, 2020 2 commits