Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #33449

Closed (moved)
Open
Opened Feb 25, 2020 by anarcat@anarcat💬

puppet: replace dsa_systemd with camptocamp systemd module

we currently have two systemd module in Puppet, dsa_systemd (from the Debian sysadmins) and camptocamp-systemd, from the Puppet forge.

the latter was imported as a dependency of the Prometheus module and it would be very hard to remove it from our codebase.

we should look at whether we can replace the dsa_systemd module with the forge systemd module instead. this would allow us to collaborate with a broader community and remove duplicate code from our monorepo.

ideally, we'd also provide the good DSA folks a procedure on how to perform the migration, since we'll have to do it anyways.

so far, I've found this transition:

dsa_systemd::linger { 'bridgescan': }

... becomes:

loginctl_user { 'tordnsel':
    linger => enabled,
}

we also use:

  • dsa_systemd::override
  • dsa_systemd::mask

we already use the camptocamp:

  • systemd::tmpfile
  • systemd::unit_file

... and we have various systemd files manually deployed in /lib and /etc

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#33449