Skip to content

Commit 72ee8ec

Browse files
committed
fix: spark.url file mode must be 0644
The other files in /etc/pcp/openmetrics/ are all 0644. The latest pmdaopenmetrics service will get a permission denied trying to open spark.url without this mode change. Signed-off-by: Rich Megginson <[email protected]>
1 parent 4da5a13 commit 72ee8ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/spark/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
template:
5353
src: spark.url.j2
5454
dest: "{{ __spark_metrics_conf }}"
55-
mode: "0600"
55+
mode: "0644"
5656
when:
5757
- spark_metrics_provider == 'pcp'
5858
- spark_metrics_agent | d(false) | bool

0 commit comments

Comments
 (0)