Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lysator
Puppet
Datorhandbok
Commits
76a9334a
Commit
76a9334a
authored
Jun 27, 2021
by
Hugo Hörnquist
Browse files
Enable logrotate for mysql dump.
parent
3cddd124
Changes
2
Hide whitespace changes
Inline
Side-by-side
files/logrotate
0 → 100644
View file @
76a9334a
# File managed by Puppet
# All local changes WILL be overwritten
/var/lib/mysql-dump/fulldump.sql {
daily
rotate 7
compress
}
manifests/init.pp
View file @
76a9334a
...
...
@@ -60,6 +60,14 @@ class datorhandbok (
mode => '0755',
}
ensure_packages
([
'logrotate'
],
{ ensure => installed }
)
file
{ '/etc/logrotate.d/datorhandbok-mysql':
ensure => file,
source => 'puppet:///modules/datorhandbok/logrotate',
}
file
{ '/var/lib/mysql-dump/run.sh':
ensure => file,
chmod => '0755',
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment