Modify permissions of `/etc/prometheus.d` and `/var/opt/prometheus`.

This commit is contained in:
Kazuhiro MUSASHI 2023-02-12 20:40:11 +09:00
parent f4d181bca8
commit 14784cc085
1 changed files with 2 additions and 2 deletions

View File

@ -5,11 +5,11 @@ user 'prometheus' do
end
# Create `/etc/prometheus.d/`:
%w(/etc/prometheus.d).each do |d|
%w( /etc/prometheus.d /var/opt/prometheus ).each do |d|
directory d do
owner 'prometheus'
group 'prometheus'
mode '0755'
mode '0744'
end
end