Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9342155
base_config.pp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
594 B
Subscribers
None
base_config.pp
View Options
# 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 Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Fri, Jul 4, 12:31 PM (2 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3241133
Attached To
rSPSITE puppet-swh-site
Event Timeline
Log In to Comment