Skip to content

Add /tmp as tmpfs partition for indexer workers

Related to T4415

Test Plan

octo-diff:

$ $SWH_PUPPET_ENVIRONMENT_HOME/bin/octocatalog-diff indexer-worker06.euwest.azure.internal.softwareheritage.org
*******************************************
+ Exec[create /tmp] =>
   parameters =>
     "command": "mkdir -p /tmp",
     "creates": "/tmp",
     "path": [
       "/bin",
       "/usr/bin",
       "/sbin",
       "/usr/sbin"
     ]
*******************************************
+ File[/tmp]
*******************************************
+ Mount[/tmp] =>
   parameters =>
     "device": "tmpfs",
     "dump": 0,
     "ensure": "present",
     "fstype": "tmpfs",
     "options": "size=4096,nr_inodes=200m,noexec,nosuid,nodev,relatime,rw",
     "pass": 0
*******************************************
*** End octocatalog-diff on indexer-worker06.euwest.azure.internal.softwareheritage.org

Migrated from D8169 (view on Phabricator)

Merge request reports

Loading