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
be1b0a2b
Unverified
Commit
be1b0a2b
authored
5 years ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
reorder - run puppet after all puppet patches
parent
af79ae06
No related branches found
Branches containing commit
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
+11
-11
11 additions, 11 deletions
tsa/howto/static-component.mdwn
with
11 additions
and
11 deletions
tsa/howto/static-component.mdwn
+
11
−
11
View file @
be1b0a2b
...
...
@@ -17,15 +17,7 @@ Adding a new component
ssh staticiforme "mkdir -p /srv/onionperf.torproject.org/htdocs/ \
&& chown torwww:torwww /srv/onionperf.torproject.org/{,htdocs}"
3. run Puppet on the master and mirrors:
ssh staticiforme puppet agent -t
cumin 'C:roles::static_mirror_web' 'puppet agent -t'
The latter is done with [[cumin]], see also [[puppet]] for a way
to do jobs on all hosts.
4. add the host to DNS, if not already present, see [[dns]], for
3. add the host to DNS, if not already present, see [[dns]], for
example add this line in `dns/domains/torproject.org`:
onionperf IN CNAME static
...
...
@@ -53,12 +45,20 @@ Adding a new component
[...]
}
4. consider creating a new role and group for the component if none
7. run Puppet on the master and mirrors:
ssh staticiforme puppet agent -t
cumin 'C:roles::static_mirror_web' 'puppet agent -t'
The latter is done with [[cumin]], see also [[puppet]] for a way
to do jobs on all hosts.
8. consider creating a new role and group for the component if none
match its purpose, see [[create-a-new-user]] for details:
ssh alberti.torproject.org ldapvi -ZZ --encoding=ASCII --ldap-conf -h db.torproject.org -D "uid=$USER,ou=users,dc=torproject,dc=org"
5
. if you created a new group, you will probably need to modify the
9
. if you created a new group, you will probably need to modify the
`sudoers` file to grant a user access to the role/group, see
`modules/sudo/files/sudoers` in the `tor-puppet` repository (and
[[puppet]] to learn about how to make changes to
...
...
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