Skip to content

Commit

Permalink
Create user with system
Browse files Browse the repository at this point in the history
  • Loading branch information
manegron committed Oct 14, 2023
1 parent 4f24165 commit 454f060
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/providers/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
end

execute "create_user" do
command "/usr/sbin/useradd -r postgres"
command "/usr/sbin/useradd -r minio"
ignore_failure true
not_if "getent passwd postgres"
not_if "getent passwd minio"
end

%w[ /var/minio /var/minio/data /etc/minio ].each do |path|
Expand Down

0 comments on commit 454f060

Please sign in to comment.