Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F11023466
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
977 B
Subscribers
None
View Options
diff --git a/manifests/systemd_journal/base_config.pp b/manifests/systemd_journal/base_config.pp
index e70a9fc..d525296 100644
--- a/manifests/systemd_journal/base_config.pp
+++ b/manifests/systemd_journal/base_config.pp
@@ -1,20 +1,26 @@
# Manage systemd-journald base configuration
class profile::systemd_journal::base_config {
file {'/var/log/journal':
ensure => 'directory',
owner => 'root',
group => 'systemd-journal',
mode => '2755',
notify => Exec['systemd_journal-tmpdir'],
}
exec {'systemd_journal-tmpdir':
command => 'systemd-tmpfiles --create --prefix /var/log/journal',
path => ['/sbin', '/usr/sbin', '/bin', '/usr/bin'],
require => [
File['/var/log/journal'],
Package['acl'],
],
unless => 'getfacl -csp /var/log/journal | grep -Eq group:adm:r-x',
}
+
+ file_line { 'systemd_journal_maxsize':
+ path => '/etc/systemd/journald.conf',
+ line => 'SystemMaxUse=400M',
+ }
+
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Thu, Sep 18, 4:37 PM (12 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3281678
Attached To
rSPPROF puppet-swh-profile
Event Timeline
Log In to Comment