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

puppetlabs/postgresql : use drop-in directory for service override

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: postgresql
    • Environment:

      CentOS 7.6

      systemd 219-62.el7

      Puppet 6.0.4 

    • Template:
      MODULES Bug Template
    • Acceptance Criteria:
      Hide

      The system override configuration file does not use the deprecated ".include" directive.

      Show
      The system override configuration file does not use the deprecated ".include" directive.
    • Team:
      Modules
    • Method Found:
      Manual Test
    • QA Risk Assessment:
      Needs Assessment

      Description

      The puppetlabs/postgresql module renders its service override file at "/etc/systemd/system/postgresql-<version>.service", then includes the default service file, which is located at "/var/lib/systemd/system/postgresql-<version>.service". This way of overriding the default service file is deprecated. See the man page source of systemd for details (line 184).

      The correct way to override the service is to render a .conf file in the service's drop-in directory at "/etc/systemd/system/postgresql-<version>.d/<file_name>.conf".

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            pdhoisington Paul Hoisington
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support