Skip to content

Commit

Permalink
fix(permissions): correct basedir user/group
Browse files Browse the repository at this point in the history
  • Loading branch information
noelmcloughlin committed Aug 18, 2020
1 parent ceb9863 commit d65858a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions prometheus/archive/install.sls
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion test/integration/default/controls/archive_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
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 }
Expand Down

0 comments on commit d65858a

Please sign in to comment.