Page MenuHomeSoftware Heritage

Add /tmp as tmpfs partition for indexer workers
ClosedPublic

Authored by ardumont on Mon, Aug 1, 5:27 PM.

Details

Summary

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

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.

Event Timeline

ardumont retitled this revision from indexers: Manage /etc/fstab to add /tmp as tmpfs partition to Add /tmp as tmpfs partition for indexer workers.Mon, Aug 1, 5:34 PM
ardumont edited the summary of this revision. (Show Details)
ardumont edited the test plan for this revision. (Show Details)

Restrict declaration to /tmp

This revision was not accepted when it landed; it landed in state Needs Review.Tue, Aug 2, 10:59 AM
This revision was automatically updated to reflect the committed changes.