Commits on Apr 29, 2021

  1. Allow customising the list of HTTP headers to unset

    This patchset adds a new parameter to `foreman::config::apache` called
    `request_headers_to_unset` containing a list of HTTP headers to be
    unset before proxy passing the request to the application. See the
    associated issue for more information.
    
    Fixes #941
    nbarrientos authored and ekohl committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    403d2d8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    691a8a0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    92eb55d View commit details
    Browse the repository at this point in the history

Commits on May 1, 2021

  1. Make database.yml and settings.yaml have consistent headers

    This brings the two files in sync with how they include the
    _header.erb subtemplate.
    gcoxmoz authored and wbclark committed May 1, 2021
    Configuration menu
    Copy the full SHA
    5ddc1cc View commit details
    Browse the repository at this point in the history

Commits on May 4, 2021

  1. Allow Puppet 7 compatible versions of mods

    ekohl authored and ehelms committed May 4, 2021
    Configuration menu
    Copy the full SHA
    0520a49 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2021

  1. Configuration menu
    Copy the full SHA
    3a6be45 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2021

  1. Allow customising ProxyAddHeaders

    When the Apache instance configured by this module is not dealing with
    user requests directly because there's another proxy in front, it's
    undesirable that the "local" Apache resets headers like
    X-Forwarded-Host. When it does, it could happen that links created
    using Rails _url helpers do not contain the Host initially sent by the
    client leading to broken links (as they point to backend nodes not
    reachable by the user).
    
    This patch makes this setting customisable by the administrator by
    exposing it a parameter.
    
    Fixes #952
    nbarrientos authored and ekohl committed May 12, 2021
    Configuration menu
    Copy the full SHA
    20d5184 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2021

  1. Switch to voxpupuli-acceptance 1.0

    Finally there's a released version of beaker-hiera that includes the
    fixes needed. voxpupuli-acceptance now includes this integration as well
    as some other changes we had locally. This leads to a smaller helper.
    ekohl authored and ehelms committed May 21, 2021
    Configuration menu
    Copy the full SHA
    b193a14 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2021

  1. Allow puppet/redis 7.x

    The breaking changes do not affect this module.
    ekohl authored and ehelms committed May 25, 2021
    Configuration menu
    Copy the full SHA
    29619f1 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2021

  1. Configuration menu
    Copy the full SHA
    1fd70b7 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2021

  1. Support Puppet 7

    Forcing the locale in acceptance tests isn't pretty but for now it's a
    valid workaround. Note that the candlepin DB is already forced to
    en_US.UTF-8 but this affects initdb. We may see similar problems in
    production, but in general LANG should be matching a system locale.
    ekohl authored and ehelms committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    1734ec1 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2021

  1. Add ACD plugin

    sbernhard authored Jun 11, 2021
    Configuration menu
    Copy the full SHA
    8bfb8ce View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2021

  1. Fixes #32827 - Add sendmail config options

    As part of CVE-2021-3584 the option email_sendmail_location was limited
    to just 4 choices. This allows admins to set it via settings.yaml. The
    idea is that if you can edit settings.yaml, you're already compromised
    while UI could be less protected.
    
    When a setting is present in settings.yaml, the option becomes read-only
    in the UI.
    
    If the options are not set, they don't show up in settings.yaml.
    ekohl committed Jun 22, 2021
    Configuration menu
    Copy the full SHA
    6c902a4 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2021

  1. Bump version to 18.0.0

    ehelms committed Jun 25, 2021
    Configuration menu
    Copy the full SHA
    0ebbc74 View commit details
    Browse the repository at this point in the history
  2. Refs #32885: Add puppet user to user_groups only if server or client …

    …certificate contains puppet path
    ehelms committed Jun 25, 2021
    Configuration menu
    Copy the full SHA
    e16eaa3 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2021

  1. Autorequire provider in smartproxy type

    With this it's sufficient to include foreman::providers where prior to
    this the caller was responsible for ensuring the correct dependency.
    ekohl committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    f2a03dd View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2021

  1. Drop Puppet 5 support

    ehelms authored and ekohl committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    a47e760 View commit details
    Browse the repository at this point in the history
  2. Strip trailing whitespace

    ekohl committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    0bdab88 View commit details
    Browse the repository at this point in the history
  3. Use to_symbolized_yaml instead of a template

    This results in the same content on disk and removes the need for a
    template. This gives more guarantees that it's correct.
    ekohl committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    88ee2c8 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2021

  1. Configuration menu
    Copy the full SHA
    91850a2 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2021

  1. Remove unused suburi template

    Since 0dc29a3 this file is unused and
    should have been removed.
    
    Fixes: 0dc29a3
    ekohl committed Jul 8, 2021
    Configuration menu
    Copy the full SHA
    b82a24a View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2021

  1. Fixes #32947 - Use Apache module variables

    Apache is packaged in different locations between Red Hat and Debian.
    The user differs (apache vs www-data) and conf dir (/etc/httpd vs
    /etc/apache2). This changes the code to use variables already defined on
    the apache module to avoid duplicating this logic.
    ekohl authored and evgeni committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    d8879af View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b759778 View commit details
    Browse the repository at this point in the history
  3. Use EPP instead of ERB

    As a Preparation for making this Module "Sensitive"-aware, we prefer
    to use EPP instead of ERB in such Situations, where "Sensitive" could
    come into Play, as EPP is able to handle Data of Type Sensitive
    natively.
    cocker-cc authored Jul 9, 2021
    Configuration menu
    Copy the full SHA
    5dfe8aa View commit details
    Browse the repository at this point in the history
  4. Making the parameters email_reply_address and email_subject_prefix co…

    …nfigurable
    Ruben Stein authored and ekohl committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    a260c50 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2021

  1. Fixes #29649 - Drop default_server argument in IPA

    ipa-getkeytab can figure out the default server on its own[1]. There is no
    need to specify it and can even break things. For example, DNS can be
    used to detect servers. Then the fact is empty and it fails while the
    command would actually pass.
    
    The foreman_ipa fact is removed since it's a major version bump anyway
    and nothing else should use our foreman_ipa fact.
    
    [1] #880 (comment)
    ekohl authored and evgeni committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    eaefa6f View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2021

  1. Make Foreman a system user and group

    This matches what the RPM and Debian packages already do so it should
    have no effect in reality, but it does align the two.
    ekohl authored and ehelms committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    77d4a71 View commit details
    Browse the repository at this point in the history
  2. Match the user shell to packaging

    In dcb8a70 the shell was changed from
    /sbin/nologin to /bin/false since on Debian it is /usr/sbin/nologin.
    
    Technically we can now always use /usr/sbin/nologin since on EL7
    /sbin is a symlink to /usr/sbin, but that doesn't match packaging.
    Aligning this to packaging means there's one step that no longer needs
    to happen during installation.
    
    The parameter is not exposed in init.pp since most users won't care
    about this (in the past 6 years no PR has been submitted to do so).
    ekohl authored and ehelms committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    fde6558 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2021

  1. added foreman_datacenter

    Zenya authored and wbclark committed Jul 21, 2021
    Configuration menu
    Copy the full SHA
    bfdd93e View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2021

  1. Configuration menu
    Copy the full SHA
    08254ec View commit details
    Browse the repository at this point in the history
  2. Handle duplicate file declaration for foreman::app_root

    Currently we're using your module to install and configure Foreman.
    We want to install Foreman in its own filesystem, but the file resource for
    $foreman::app_root makes it hard to implement this in puppet - it will always
    result in duplicate resource.  Furthermore I'm not sure, if this resource is
    necessary or placed in the right class (ordering, first install the package and
    then create the directory?!).
    
    Testing if this directory is already defined gives other the chance to do some
    stuff, e.g. creating a filesystem before installing foreman :)
    chr1s692 authored Jul 22, 2021
    Configuration menu
    Copy the full SHA
    85514df View commit details
    Browse the repository at this point in the history
  3. Let Function to_symbolized_yaml handle Datatype Sensitive

    Cocker Koch authored and ekohl committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    7996011 View commit details
    Browse the repository at this point in the history
  4. Fixes #33106 - Move user, app_root, rails_env & vhost_prio to globals

    These parameters are not commonly changed. Moving them to globals makes
    the list of parameters in init.pp shorter and easier to manage. This
    is of particular benefit in the installer while it shouldn't hinder
    users of the module in a pure Puppet environment too much.
    ekohl authored and ehelms committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    0e45f20 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2021

  1. Replace use of verify_exact_contents

    This can be tested with native methods. The only difference is that now
    we need to test for comments and whitespace too, but this is not a bad
    thing.
    ekohl committed Jul 23, 2021
    Configuration menu
    Copy the full SHA
    3fde6ce View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2021

  1. Release 18.0.0

    ehelms committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    476d741 View commit details
    Browse the repository at this point in the history