diff --git a/manifests/init.pp b/manifests/init.pp index ade6263..6e8b6bf 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -21,7 +21,7 @@ String $ledger_repo, String $ledger_ssh_key, String $ledger_file = 'core.ldg', - String $version = 'v0.0.10', + String $version = 'v0.0.12', String $user = 'ledgerdb', String $bootdelay = '300', String $frequency = '300' diff --git a/templates/setup.sh.erb b/templates/setup.sh.erb deleted file mode 100644 index c000bbf..0000000 --- a/templates/setup.sh.erb +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -set -e - -psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL - CREATE USER grafana; - ALTER USER grafana WITH PASSWORD '<%= @grafana_password %>'; - ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO grafana; -EOSQL -