diff --git a/prometheus/archive/install.sls b/prometheus/archive/install.sls index 07f25d8..4c68a4b 100644 --- a/prometheus/archive/install.sls +++ b/prometheus/archive/install.sls @@ -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: diff --git a/test/integration/default/controls/archive_spec.rb b/test/integration/default/controls/archive_spec.rb index 4d02a50..d2f2c6c 100644 --- a/test/integration/default/controls/archive_spec.rb +++ b/test/integration/default/controls/archive_spec.rb @@ -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 }