18 lines
360 B
Ruby
18 lines
360 B
Ruby
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
|