Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible-rt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
infra
ansible-shared
ansible-rt
Commits
622965ac
Verified
Commit
622965ac
authored
6 years ago
by
Thomas Schneider
Browse files
Options
Downloads
Patches
Plain Diff
Save attachments to the filesystem
parent
f7a17fad
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
request-tracker/tasks/main.yml
+13
-3
13 additions, 3 deletions
request-tracker/tasks/main.yml
request-tracker/templates/RT_SiteConfig.d/80-externalstorage.pm.j2
+4
-0
4 additions, 0 deletions
...racker/templates/RT_SiteConfig.d/80-externalstorage.pm.j2
with
17 additions
and
3 deletions
request-tracker/tasks/main.yml
+
13
−
3
View file @
622965ac
...
...
@@ -33,11 +33,21 @@
-
50-debconf.pm
-
60-logging.pm
-
70-ldap.pm
-
80-externalstorage.pm
tags
:
-
rt
notify
:
-
restart RT
-
name
:
Ensure attachments directory exists
file
:
path
:
/var/lib/request-tracker4/attachments
state
:
directory
mode
:
u=rwx,g=rs
owner
:
www-data
tags
:
-
rt
-
name
:
Have dbconfig config installed
template
:
src
:
dbconfig.conf.j2
...
...
This diff is collapsed.
Click to expand it.
request-tracker/templates/RT_SiteConfig.d/80-externalstorage.pm.j2
0 → 100644
+
4
−
0
View file @
622965ac
Set(%ExternalStorage,
Type => 'Disk',
Path => '/var/lib/request-tracker4/attachments',
);
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