fix(permissions): correct basedir user/group
This commit is contained in:
parent
ceb9863749
commit
d65858a154
@ -15,8 +15,8 @@ prometheus-archive-install-prerequisites:
|
||||
- names: {{ p.pkg.deps|json }}
|
||||
file.directory:
|
||||
- name: {{ p.dir.var }}
|
||||
- user: prometheus
|
||||
- group: prometheus
|
||||
- user: {{ p.identity.rootuser }}
|
||||
- group: {{ p.identity.rootgroup }}
|
||||
- mode: 755
|
||||
- makedirs: True
|
||||
- require:
|
||||
|
@ -26,7 +26,6 @@ control 'prometheus components' do
|
||||
end
|
||||
describe directory('/var/lib/prometheus') do
|
||||
it { should exist }
|
||||
its('group') { should eq 'prometheus' }
|
||||
end
|
||||
describe directory('/opt/prometheus/prometheus-v2.10.0') do
|
||||
it { should exist }
|
||||
|
Loading…
Reference in New Issue
Block a user