Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
it-puppet-module-dirac
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository 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
ai
it-puppet-module-dirac
Commits
58b5e365
Commit
58b5e365
authored
4 years ago
by
Marko Petric
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Merge branch 'logrotate' into 'qa'"
This reverts merge request !40
parent
4943a7a4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
code/files/logrotate_nginx
+0
-12
0 additions, 12 deletions
code/files/logrotate_nginx
code/manifests/init.pp
+0
-9
0 additions, 9 deletions
code/manifests/init.pp
with
0 additions
and
21 deletions
code/files/logrotate_nginx
deleted
100644 → 0
+
0
−
12
View file @
4943a7a4
/opt/dirac/data/log/nginx/*log {
create 0644 nginx nginx
daily
rotate 10
missingok
notifempty
compress
sharedscripts
postrotate
/bin/kill -USR1 `cat /opt/rh/nginx16/root/var/run/nginx.pid 2>/dev/null` 2>/dev/null || true
endscript
}
This diff is collapsed.
Click to expand it.
code/manifests/init.pp
+
0
−
9
View file @
58b5e365
...
@@ -237,15 +237,6 @@ class dirac ($dirac_user = 'dirac', $dirac_group = 'dirac',
...
@@ -237,15 +237,6 @@ class dirac ($dirac_user = 'dirac', $dirac_group = 'dirac',
content
=>
template
(
$nginx_tpl_path
),
content
=>
template
(
$nginx_tpl_path
),
}
}
file
{
'/etc/logrotate.d/nginx16-nginx'
:
ensure
=>
file
,
owner
=>
'root'
,
group
=>
'root'
,
mode
=>
'0644'
,
require
=>
Package
[
'nginx16'
],
source
=>
'puppet:///modules/dirac/logrotate_nginx'
,
}
service
{
'nginx16-nginx'
:
service
{
'nginx16-nginx'
:
ensure
=>
running
,
ensure
=>
running
,
require
=>
[
Package
[
'nginx16'
],
require
=>
[
Package
[
'nginx16'
],
...
...
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