Skip to content

journalbeat: create a missing directory not created in the last packages

and remove cleanup of the previous packages content

Test Plan

random hosts:

  • logstash0:
*******************************************
- Apt::Pin[swh-journalbeat]
*******************************************
- Apt::Setting[pref-swh-journalbeat]
*******************************************
- File[/etc/apt/preferences.d/swh-journalbeat.pref]
*******************************************
- File[/etc/systemd/system/journalbeat.service]
*******************************************
- File[/var/lib/journalbeat/cursor_state]
*******************************************
+ File[/var/lib/journalbeat] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "mode": "0755",
     "owner": "root"
*******************************************
- User[journalbeat]
*******************************************
*** End octocatalog-diff on logstash0.internal.softwareheritage.org
  • saam
diff origin/production/saam.internal.softwareheritage.org current/saam.internal.softwareheritage.org
*******************************************
- Apt::Pin[swh-journalbeat]
*******************************************
- Apt::Setting[pref-swh-journalbeat]
*******************************************
- File[/etc/apt/preferences.d/swh-journalbeat.pref]
*******************************************
- File[/etc/systemd/system/journalbeat.service]
*******************************************
- File[/var/lib/journalbeat/cursor_state]
*******************************************
+ File[/var/lib/journalbeat] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "mode": "0755",
     "owner": "root"
*******************************************
- User[journalbeat]
*******************************************

Migrated from D6934 (view on Phabricator)

Merge request reports