Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
TPA
Wiki Replica
Commits
18726792
Unverified
Commit
18726792
authored
5 years ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
show how to remove a component
parent
1e9c95ce
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tsa/howto/static-component.mdwn
+38
-0
38 additions, 0 deletions
tsa/howto/static-component.mdwn
with
38 additions
and
0 deletions
tsa/howto/static-component.mdwn
+
38
−
0
View file @
18726792
...
...
@@ -71,3 +71,41 @@ Adding a new component
This, for example, is the line that was added for `onionperf`:
%torwww,%metrics STATICMASTER=(mirroradm) NOPASSWD: /usr/local/bin/static-master-update-component onionperf.torproject.org, /usr/local/bin/static-update-component onionperf.torproject.org
Removing a component
====================
1. remove the component to Puppet, in `modules/roles/misc/static-components.yaml`
2. create the home directory specified on the server (often
`staticiforme`, but can be elsewhere)
3. remove the host to DNS, if not already present, see [[dns]]. this
can be either in `dns/domains.git` or `dns/auto-dns.git`
4. remove the Apache virtual host, by removing a line like this in
[[puppet]] to
`modules/roles/templates/static-mirroring/vhost/static-vhosts.erb`:
vhost(lines, 'onionperf.torproject.org')
5. remove an SSL service, by removing a line in [[puppet]] to
`modules/roles/manifests/static_mirror_web.pp`:
ssl::service { onionperf.torproject.org': ensure => 'ifstatic', notify => Exec['service apache2 reload'], key => true, }
6. remove the Let's encrypt certificate, see [[letsencrypt]] for details
7. remove onion service, by removing another `onion::service` line in
[[puppet]] to `modules/roles/manifests/static_mirror_onion.pp`:
onion::service {
[...]
'onionperf.torproject.org',
[...]
}
8. remove the sudo rules for the role user
9. consider removing the role user and group in LDAP, if there are no
files left owned by that user
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment