Sha256: 0386c7db7f89ba823af81725c1805b43bb1dfaf7b8c25c6518e8630314d8c107
Contents?: true
Size: 438 Bytes
Versions: 36
Compression:
Stored size: 438 Bytes
Contents
DB_NAME=<%= @attributes.db_database %> DB_USER=<%= @attributes.db_username %> DB_PWD=<%= @attributes.db_password %> if sunzi.to_be_done "install postgres"; then sunzi.install "postgresql" sunzi.install "postgresql-contrib" sunzi.install "libpq-dev" sudo -u postgres psql -c "create user $DB_USER with password '$DB_PWD';" sudo -u postgres psql -c "create database $DB_NAME owner $DB_USER;" sunzi.done "install postgres" fi
Version data entries
36 entries across 36 versions & 2 rubygems