stuff
This commit is contained in:
17
cookbooks/hosting/recipes/postgress.rb
Normal file
17
cookbooks/hosting/recipes/postgress.rb
Normal file
@ -0,0 +1,17 @@
|
||||
postgresql_server_install 'My PostgreSQL Server install' do
|
||||
action :install
|
||||
end
|
||||
|
||||
postgresql_access 'local_postgres_superuser' do
|
||||
comment 'Local postgres superuser access'
|
||||
access_type 'local'
|
||||
access_db 'all'
|
||||
access_user 'postgres'
|
||||
access_addr nil
|
||||
access_method 'ident'
|
||||
end
|
||||
|
||||
postgresql_user 'gitea' do
|
||||
password 'UserP4ssword'
|
||||
createdb true
|
||||
end
|
Reference in New Issue
Block a user