fix(permissions): correct basedir user/group

This commit is contained in:
noelmcloughlin 2020-08-18 21:37:40 +01:00
parent ceb9863749
commit d65858a154
2 changed files with 2 additions and 3 deletions

View File

@ -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:

View File

@ -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 }