Skip to content

Commit bdd6ca3

Browse files
committed
Explicitely set systemd service permission
The configuration happends to default to 0600, resulting in systemd producing this warning message: ``` Configuration file /usr/lib/systemd/system/elasticsearch-es-01.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway. ``` Set read permission for group and others to fix this issue.
1 parent e2d5c86 commit bdd6ca3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

manifests/service/systemd.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@
179179
ensure => 'file',
180180
owner => 'root',
181181
group => 'root',
182+
mode => '0644',
182183
before => Service["elasticsearch-instance-${name}"],
183184
notify => $notify_service,
184185
}

0 commit comments

Comments
 (0)