Skip to content

Commit

Permalink
add ledger_file
Browse files Browse the repository at this point in the history
  • Loading branch information
akerl committed Nov 28, 2024
1 parent 59ba0b4 commit ecc73f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# @param grafana_password is the password for Grafana to read from the DB
# @param ledger_repo is the git repo for ledger data
# @param ledger_ssh_key is the ssh key to use to update the repo
# @param ledger_file is the main ledger file to load, relative to the repo root
# @param version sets the ledgersql tag to use
# @param postgres_ip sets the address of the postgres Docker container
# @param user sets the user to run ledgersql as
Expand All @@ -16,6 +17,7 @@
String $grafana_password,
String $ledger_repo,
String $ledger_ssh_key,
String $ledger_file = 'core.ldg',
String $version = 'v0.0.1',
String $postgres_ip = '172.17.0.3',
String $user = 'ledgersql',
Expand Down
1 change: 1 addition & 0 deletions templates/config.yaml.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
data_dir: <%= @datadir %>
data_file: <%= @ledger_file %>
database_password: <%= @database_password %>
database_host: <%= @postgres_ip %>

0 comments on commit ecc73f0

Please sign in to comment.