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

puppetlabs-apache : request for more examples in readme

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: apache
    • Template:
    • CS Priority:
      Reviewed
    • QA Risk Assessment:
      Needs Assessment

      Description

      Module Version: 2.3.0

      Additional examples of how to configure this module would help to speed up adoption and use. Specifically, it would be helpful to include examples such as using the auth_basic type like this one:

      class { 'apache': }
      apache::vhost { 'files.example.net':
          docroot     => '/var/www/files',
          directories => [
              {
                 path => '/var/www/files/foo',
                 auth_type => 'Basic',
                 auth_name => 'Basic Auth',
                 auth_user_file => '/var/www/htpasswd',
                 auth_require => "valid-user",
               },
               {
                 path => '/var/www/files/bar',
                 auth_type => 'Basic',
                 auth_name => 'Basic Auth',
                 auth_user_file => '/var/www/htpasswd',
                 auth_require => 'valid-user',
                 satisfy => 'Any',
               },
               {
                 path => '/var/www/files/baz',
                 allow => 'from 10.10.10.10',
                 auth_type => 'Basic',
                 auth_name => 'Basic Auth',
                 auth_user_file => '/var/www/htpasswd',
                 auth_require => 'valid-user',
                 satisfy => 'Any',
               },
          ],
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              paul.schaffer Paul Schaffer
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support