Page MenuHomeSoftware Heritage

logstash: puppetize the closed indexes management script
ClosedPublic

Authored by vsellier on Thu, Nov 18, 4:48 PM.

Details

Summary

extract the index names from the logstash logs and, open and unfreeze
the impacted index

Related to T3705

Test Plan
  • logstash0:
diff origin/production/logstash0.internal.softwareheritage.org current/logstash0.internal.softwareheritage.org
*******************************************
+ File[/usr/local/bin/es_reopen_closed_indexes.sh] =>
   parameters =>
     "content": "#!/bin/bash\n\n#\n# File managed by puppet (profile::logstash). ...
     "ensure": "file",
     "group": "root",
     "mode": "0744",
     "owner": "root"
*******************************************
*** End octocatalog-diff on logstash0.internal.softwareheritage.org

Diff Detail

Repository
rSPSITE puppet-swh-site
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.