Page MenuHomeSoftware Heritage

scrubber: Make service parametric on the db instance to scrub
ClosedPublic

Authored by ardumont on Aug 4 2022, 12:20 PM.

Details

Summary

This allows to scrub multiple db instances.
For production environment, this means:

  • primary db (belvedere)
  • secondary db (somerset)

For staging, that stays as before, the service will still get renamed though, e.g
swh-scrubber-checker-postgres@directory-0 becomes
swhscrubber-checker-postgres@primary-directory-0.

Related to T4371

Test Plan
$ $SWH_PUPPET_ENVIRONMENT_HOME/bin/octocatalog-diff scrubber1.internal.softwareheritage.org
...
diff origin/production/scrubber1.internal.softwareheritage.org current/scrubber1.internal.softwareheritage.org
*******************************************
- File[/etc/softwareheritage/scrubber/postgres.yml]
*******************************************
+ File[/etc/softwareheritage/scrubber/primary.yaml] =>
   parameters =>
     "content": "# File managed by puppet - modifications will be lost\nscrubber_...
     "ensure": "present",
     "group": "swhdev",
     "mode": "0640",
     "owner": "swhworker"
*******************************************
+ File[/etc/softwareheritage/scrubber/secondary.yaml] =>
   parameters =>
     "content": "# File managed by puppet - modifications will be lost\nscrubber_...
     "ensure": "present",
     "group": "swhdev",
     "mode": "0640",
     "owner": "swhworker"
*******************************************
  File[/etc/softwareheritage/scrubber] =>
   parameters =>
     force =>
      + true
     purge =>
      + true
     recurse =>
      + true
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@.service] =>
   parameters =>
     content =>
      @@ -12,8 +12,9 @@
       Environment=SWH_MAIN_PACKAGE=swh.scrubber
       Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--help"
      +Environment=SWH_CONFIG_FILENAME=
       User=swhworker
       Group=swhdev
       Type=simple
      -ExecStart=/usr/bin/swh scrubber --config-file /etc/softwareheritage/scrubber/postgres.yml check storage $SWH_SCRUBBER_CLI_EXTRA_ARGS
      +ExecStart=/usr/bin/swh scrubber check storage $SWH_SCRUBBER_CLI_EXTRA_ARGS
      _
       [Install]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@directory-0.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@directory-0.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@directory-1.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@directory-1.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@directory-2.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@directory-2.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@directory-3.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@directory-3.service.d]
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-directory-0.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-directory-0.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-directory-1.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-directory-1.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-directory-2.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-directory-2.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-directory-3.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-directory-3.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-release-0.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-release-0.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-release-1.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-release-1.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-release-2.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-release-2.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-release-3.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-release-3.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-revision-0.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-revision-0.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-revision-1.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-revision-1.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-revision-2.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-revision-2.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-revision-3.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-revision-3.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-snapshot-0.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-snapshot-0.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-snapshot-1.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-snapshot-1.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-snapshot-2.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-snapshot-2.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-snapshot-3.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-snapshot-3.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@release-0.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@release-0.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@release-1.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@release-1.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@release-2.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@release-2.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@release-3.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@release-3.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@revision-0.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@revision-0.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@revision-1.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@revision-1.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@revision-2.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@revision-2.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@revision-3.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@revision-3.service.d]
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-directory-0.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-directory-0.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-directory-1.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-directory-1.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-directory-2.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-directory-2.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-directory-3.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-directory-3.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-release-0.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-release-0.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-release-1.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-release-1.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-release-2.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-release-2.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-release-3.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-release-3.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-revision-0.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-revision-0.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-revision-1.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-revision-1.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-revision-2.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-revision-2.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-revision-3.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-revision-3.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-snapshot-0.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-snapshot-0.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-snapshot-1.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-snapshot-1.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-snapshot-2.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-snapshot-2.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-snapshot-3.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@secondary-snapshot-3.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@snapshot-0.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@snapshot-0.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@snapshot-1.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@snapshot-1.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@snapshot-2.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@snapshot-2.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@snapshot-3.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@snapshot-3.service.d]
*******************************************
  Service[swh-scrubber-checker-postgres@directory-0.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@directory-1.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@directory-2.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@directory-3.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-directory-0.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-directory-1.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-directory-2.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-directory-3.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-release-0.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-release-1.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-release-2.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-release-3.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-revision-0.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-revision-1.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-revision-2.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-revision-3.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-snapshot-0.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-snapshot-1.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-snapshot-2.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-snapshot-3.service] =>
   parameters =>
     "ensure": "running"
*******************************************
  Service[swh-scrubber-checker-postgres@release-0.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@release-1.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@release-2.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@release-3.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@revision-0.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@revision-1.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@revision-2.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@revision-3.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
+ Service[swh-scrubber-checker-postgres@secondary-directory-0.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@secondary-directory-1.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@secondary-directory-2.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@secondary-directory-3.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@secondary-release-0.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@secondary-release-1.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@secondary-release-2.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@secondary-release-3.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@secondary-revision-0.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@secondary-revision-1.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@secondary-revision-2.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@secondary-revision-3.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@secondary-snapshot-0.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@secondary-snapshot-1.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@secondary-snapshot-2.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@secondary-snapshot-3.service] =>
   parameters =>
     "ensure": "running"
*******************************************
  Service[swh-scrubber-checker-postgres@snapshot-0.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@snapshot-1.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@snapshot-2.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@snapshot-3.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@directory-0.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type directory --start-object 00000000000000000000 --end-object 44444444444444444444"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@directory-1.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type directory --start-object 44444444444444444444 --end-object 88888888888888888888"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@directory-2.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type directory --start-object 88888888888888888888 --end-object bbbbbbbbbbbbbbbbbbbb"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@directory-3.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type directory --start-object bbbbbbbbbbbbbbbbbbbb --end-object ffffffffffffffffffff"

     ensure =>
      - present
      + absent
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-directory-0.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-directory-0.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-directory-1.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-directory-1.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-directory-2.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-directory-2.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-directory-3.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-directory-3.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-release-0.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-release-0.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-release-1.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-release-1.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-release-2.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-release-2.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-release-3.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-release-3.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-revision-0.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-revision-0.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-revision-1.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-revision-1.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-revision-2.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-revision-2.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-revision-3.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-revision-3.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-snapshot-0.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-snapshot-0.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-snapshot-1.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-snapshot-1.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-snapshot-2.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-snapshot-2.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-snapshot-3.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-snapshot-3.service"
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@release-0.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type release --start-object 00000000000000000000 --end-object 44444444444444444444"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@release-1.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type release --start-object 44444444444444444444 --end-object 88888888888888888888"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@release-2.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type release --start-object 88888888888888888888 --end-object bbbbbbbbbbbbbbbbbbbb"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@release-3.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type release --start-object bbbbbbbbbbbbbbbbbbbb --end-object ffffffffffffffffffff"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@revision-0.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type revision --start-object 00000000000000000000 --end-object 44444444444444444444"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@revision-1.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type revision --start-object 44444444444444444444 --end-object 88888888888888888888"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@revision-2.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type revision --start-object 88888888888888888888 --end-object bbbbbbbbbbbbbbbbbbbb"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@revision-3.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type revision --start-object bbbbbbbbbbbbbbbbbbbb --end-object ffffffffffffffffffff"

     ensure =>
      - present
      + absent
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@secondary-directory-0.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@secondary-directory-0.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@secondary-directory-1.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@secondary-directory-1.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@secondary-directory-2.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@secondary-directory-2.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@secondary-directory-3.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@secondary-directory-3.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@secondary-release-0.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@secondary-release-0.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@secondary-release-1.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@secondary-release-1.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@secondary-release-2.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@secondary-release-2.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@secondary-release-3.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@secondary-release-3.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@secondary-revision-0.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@secondary-revision-0.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@secondary-revision-1.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@secondary-revision-1.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@secondary-revision-2.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@secondary-revision-2.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@secondary-revision-3.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@secondary-revision-3.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@secondary-snapshot-0.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@secondary-snapshot-0.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@secondary-snapshot-1.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@secondary-snapshot-1.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@secondary-snapshot-2.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@secondary-snapshot-2.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@secondary-snapshot-3.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@secondary-snapshot-3.service"
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@snapshot-0.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type snapshot --start-object 00000000000000000000 --end-object 44444444444444444444"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@snapshot-1.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type snapshot --start-object 44444444444444444444 --end-object 88888888888888888888"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@snapshot-2.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type snapshot --start-object 88888888888888888888 --end-object bbbbbbbbbbbbbbbbbbbb"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@snapshot-3.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type snapshot --start-object bbbbbbbbbbbbbbbbbbbb --end-object ffffffffffffffffffff"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Unit_file[swh-scrubber-checker-postgres@.service] =>
   parameters =>
     content =>
      @@ -12,8 +12,9 @@
       Environment=SWH_MAIN_PACKAGE=swh.scrubber
       Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--help"
      +Environment=SWH_CONFIG_FILENAME=
       User=swhworker
       Group=swhdev
       Type=simple
      -ExecStart=/usr/bin/swh scrubber --config-file /etc/softwareheritage/scrubber/postgres.yml check storage $SWH_SCRUBBER_CLI_EXTRA_ARGS
      +ExecStart=/usr/bin/swh scrubber check storage $SWH_SCRUBBER_CLI_EXTRA_ARGS
      _
       [Install]
*******************************************
*** End octocatalog-diff on scrubber1.internal.softwareheritage.org
 swh  tony  yavin4  ~  work  …  swh  puppet-environment  swh-site   staging  1⬆  13⚑  ERROR  %  $SWH_PUPPET_ENVIRONMENT_HOME/bin/octocatalog-diff scrubber0.internal.staging.swh.network
Found host scrubber0.internal.staging.swh.network
WARN     -> Environment "staging-add-prometheus-metrics" contained non-word characters, correcting name to staging_add_prometheus_metrics
WARN     -> Environment "staging-bullseye-rabbitmq-plugin" contained non-word characters, correcting name to staging_bullseye_rabbitmq_plugin
WARN     -> Environment "staging-check-journal-client" contained non-word characters, correcting name to staging_check_journal_client
WARN     -> Environment "staging-check-journal-client-2nd-implementation" contained non-word characters, correcting name to staging_check_journal_client_2nd_implementation
WARN     -> Environment "staging-check-journal-client-first-implem" contained non-word characters, correcting name to staging_check_journal_client_first_implem
WARN     -> Environment "staging-pin" contained non-word characters, correcting name to staging_pin
Cloning into '/tmp/swh-ocd.CydMqS1o/environments/production/data/private'...
done.
Cloning into '/tmp/swh-ocd.CydMqS1o/environments/staging/data/private'...
done.
*** Running octocatalog-diff on host scrubber0.internal.staging.swh.network
I, [2022-08-04T13:19:28.797802 #407455]  INFO -- : Catalogs compiled for scrubber0.internal.staging.swh.network
I, [2022-08-04T13:19:29.084887 #407455]  INFO -- : Diffs computed for scrubber0.internal.staging.swh.network
diff origin/production/scrubber0.internal.staging.swh.network current/scrubber0.internal.staging.swh.network
*******************************************
- File[/etc/softwareheritage/scrubber/postgres.yml]
*******************************************
+ File[/etc/softwareheritage/scrubber/primary.yaml] =>
   parameters =>
     "content": "# File managed by puppet - modifications will be lost\nscrubber_...
     "ensure": "present",
     "group": "swhdev",
     "mode": "0640",
     "owner": "swhworker"
*******************************************
  File[/etc/softwareheritage/scrubber] =>
   parameters =>
     force =>
      + true
     purge =>
      + true
     recurse =>
      + true
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@.service] =>
   parameters =>
     content =>
      @@ -12,8 +12,9 @@
       Environment=SWH_MAIN_PACKAGE=swh.scrubber
       Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--help"
      +Environment=SWH_CONFIG_FILENAME=
       User=swhworker
       Group=swhdev
       Type=simple
      -ExecStart=/usr/bin/swh scrubber --config-file /etc/softwareheritage/scrubber/postgres.yml check storage $SWH_SCRUBBER_CLI_EXTRA_ARGS
      +ExecStart=/usr/bin/swh scrubber check storage $SWH_SCRUBBER_CLI_EXTRA_ARGS
      _
       [Install]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@directory-0.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@directory-0.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@directory-1.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@directory-1.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@directory-2.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@directory-2.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@directory-3.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@directory-3.service.d]
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-directory-0.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-directory-0.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-directory-1.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-directory-1.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-directory-2.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-directory-2.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-directory-3.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-directory-3.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-release-0.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-release-0.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-release-1.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-release-1.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-release-2.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-release-2.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-release-3.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-release-3.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-revision-0.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-revision-0.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-revision-1.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-revision-1.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-revision-2.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-revision-2.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-revision-3.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-revision-3.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-snapshot-0.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-snapshot-0.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-snapshot-1.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-snapshot-1.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-snapshot-2.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-snapshot-2.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-snapshot-3.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "ensure": "file",
     "group": "root",
     "mode": "0444",
     "notify": [
       "Class[Systemd::Systemctl::Daemon_reload]"
     ],
     "owner": "root",
     "selinux_ignore_defaults": false,
     "show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scrubber-checker-postgres@primary-snapshot-3.service.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "owner": "root",
     "purge": true,
     "recurse": true,
     "selinux_ignore_defaults": false
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@release-0.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@release-0.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@release-1.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@release-1.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@release-2.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@release-2.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@release-3.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@release-3.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@revision-0.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@revision-0.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@revision-1.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@revision-1.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@revision-2.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@revision-2.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@revision-3.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@revision-3.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@snapshot-0.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@snapshot-0.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@snapshot-1.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@snapshot-1.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@snapshot-2.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@snapshot-2.service.d]
*******************************************
  File[/etc/systemd/system/swh-scrubber-checker-postgres@snapshot-3.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-scrubber-checker-postgres@snapshot-3.service.d]
*******************************************
  Service[swh-scrubber-checker-postgres@directory-0.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@directory-1.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@directory-2.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@directory-3.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-directory-0.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-directory-1.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-directory-2.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-directory-3.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-release-0.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-release-1.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-release-2.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-release-3.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-revision-0.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-revision-1.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-revision-2.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-revision-3.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-snapshot-0.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-snapshot-1.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-snapshot-2.service] =>
   parameters =>
     "ensure": "running"
*******************************************
+ Service[swh-scrubber-checker-postgres@primary-snapshot-3.service] =>
   parameters =>
     "ensure": "running"
*******************************************
  Service[swh-scrubber-checker-postgres@release-0.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@release-1.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@release-2.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@release-3.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@revision-0.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@revision-1.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@revision-2.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@revision-3.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@snapshot-0.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@snapshot-1.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@snapshot-2.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Service[swh-scrubber-checker-postgres@snapshot-3.service] =>
   parameters =>
     ensure =>
      - running
      + stopped
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@directory-0.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type directory --start-object 00000000000000000000 --end-object 44444444444444444444"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@directory-1.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type directory --start-object 44444444444444444444 --end-object 88888888888888888888"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@directory-2.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type directory --start-object 88888888888888888888 --end-object bbbbbbbbbbbbbbbbbbbb"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@directory-3.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type directory --start-object bbbbbbbbbbbbbbbbbbbb --end-object ffffffffffffffffffff"

     ensure =>
      - present
      + absent
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-directory-0.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-directory-0.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-directory-1.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-directory-1.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-directory-2.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-directory-2.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-directory-3.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-directory-3.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-release-0.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-release-0.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-release-1.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-release-1.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-release-2.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-release-2.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-release-3.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-release-3.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-revision-0.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-revision-0.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-revision-1.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-revision-1.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-revision-2.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-revision-2.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-revision-3.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-revision-3.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-snapshot-0.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-snapshot-0.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-snapshot-1.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-snapshot-1.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-snapshot-2.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-snapshot-2.service"
*******************************************
+ Systemd::Dropin_file[swh-scrubber-checker-postgres@primary-snapshot-3.service.d/parameters.conf] =>
   parameters =>
     "content": "# Managed by puppet class profile::swh::deploy::scrubber::checke...
     "daemon_reload": "lazy",
     "ensure": "present",
     "filename": "parameters.conf",
     "group": "root",
     "mode": "0444",
     "owner": "root",
     "path": "/etc/systemd/system",
     "selinux_ignore_defaults": false,
     "show_diff": true,
     "unit": "swh-scrubber-checker-postgres@primary-snapshot-3.service"
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@release-0.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type release --start-object 00000000000000000000 --end-object 44444444444444444444"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@release-1.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type release --start-object 44444444444444444444 --end-object 88888888888888888888"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@release-2.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type release --start-object 88888888888888888888 --end-object bbbbbbbbbbbbbbbbbbbb"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@release-3.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type release --start-object bbbbbbbbbbbbbbbbbbbb --end-object ffffffffffffffffffff"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@revision-0.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type revision --start-object 00000000000000000000 --end-object 44444444444444444444"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@revision-1.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type revision --start-object 44444444444444444444 --end-object 88888888888888888888"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@revision-2.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type revision --start-object 88888888888888888888 --end-object bbbbbbbbbbbbbbbbbbbb"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@revision-3.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type revision --start-object bbbbbbbbbbbbbbbbbbbb --end-object ffffffffffffffffffff"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@snapshot-0.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type snapshot --start-object 00000000000000000000 --end-object 44444444444444444444"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@snapshot-1.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type snapshot --start-object 44444444444444444444 --end-object 88888888888888888888"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@snapshot-2.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type snapshot --start-object 88888888888888888888 --end-object bbbbbbbbbbbbbbbbbbbb"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Dropin_file[swh-scrubber-checker-postgres@snapshot-3.service.d/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type snapshot --start-object bbbbbbbbbbbbbbbbbbbb --end-object ffffffffffffffffffff"

     ensure =>
      - present
      + absent
*******************************************
  Systemd::Unit_file[swh-scrubber-checker-postgres@.service] =>
   parameters =>
     content =>
      @@ -12,8 +12,9 @@
       Environment=SWH_MAIN_PACKAGE=swh.scrubber
       Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--help"
      +Environment=SWH_CONFIG_FILENAME=
       User=swhworker
       Group=swhdev
       Type=simple
      -ExecStart=/usr/bin/swh scrubber --config-file /etc/softwareheritage/scrubber/postgres.yml check storage $SWH_SCRUBBER_CLI_EXTRA_ARGS
      +ExecStart=/usr/bin/swh scrubber check storage $SWH_SCRUBBER_CLI_EXTRA_ARGS
      _
       [Install]
*******************************************
*** End octocatalog-diff on scrubber0.internal.staging.swh.network

Diff Detail

Repository
rSPSITE puppet-swh-site
Branch
staging
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 30606
Build 47854: arc lint + arc unit

Event Timeline

olasd added inline comments.
data/common/common.yaml
1913–1929

The object ids were truncated, and skewed (the last range was smaller than the other ones).

You could also make it a list of dicts with start/end keys to avoid having to split the range key in the puppet manifest.

Finally we may want different ranges per object type, e.g. giving more parallelism to the slow(er) scrubbing of directory entries.

data/deployments/production/sesi_rocquencourt.yaml
36

Why not just build this out of the dictionary key?

site-modules/profile/manifests/swh/deploy/scrubber/checker/postgres.pp
18–22

Probably deserves a purge => true (and other relevant arguments) to clean up old config files.

108
113

Seems like a typo?

115

Maybe add cleanup of old resources?

116

use inline_yaml($config_dict) to get the "managed by puppet" header

site-modules/profile/templates/swh/deploy/scrubber/swh-scrubber-checker-postgres@.service.erb
24

Doesn't the --config-file already implicitly use SWH_CONFIG_FILENAME?

ardumont added inline comments.
data/deployments/production/sesi_rocquencourt.yaml
36

right.

site-modules/profile/manifests/swh/deploy/scrubber/checker/postgres.pp
115

carrement, that will avoid to do the manual clean up myself ;)

site-modules/profile/templates/swh/deploy/scrubber/swh-scrubber-checker-postgres@.service.erb
24

yes, i think so. i'll check.

ardumont marked 2 inline comments as done.

Adapt according to review

ardumont marked 2 inline comments as done.
ardumont added inline comments.
site-modules/profile/templates/swh/deploy/scrubber/swh-scrubber-checker-postgres@.service.erb
24

Great, thanks

site-modules/profile/manifests/swh/deploy/scrubber/checker/postgres.pp
88

Please do enable the service so it gets started on boot (instead of through the first puppet run)

This revision is now accepted and ready to land.Aug 4 2022, 2:46 PM
site-modules/profile/manifests/swh/deploy/scrubber/checker/postgres.pp
88

ack