Skip to content

Commit d65858a

Browse files
fix(permissions): correct basedir user/group
1 parent ceb9863 commit d65858a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

prometheus/archive/install.sls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ prometheus-archive-install-prerequisites:
1515
- names: {{ p.pkg.deps|json }}
1616
file.directory:
1717
- name: {{ p.dir.var }}
18-
- user: prometheus
19-
- group: prometheus
18+
- user: {{ p.identity.rootuser }}
19+
- group: {{ p.identity.rootgroup }}
2020
- mode: 755
2121
- makedirs: True
2222
- require:

test/integration/default/controls/archive_spec.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
end
2727
describe directory('/var/lib/prometheus') do
2828
it { should exist }
29-
its('group') { should eq 'prometheus' }
3029
end
3130
describe directory('/opt/prometheus/prometheus-v2.10.0') do
3231
it { should exist }

0 commit comments

Comments
 (0)