Skip to content

Commit f9c6515

Browse files
add debug
1 parent 9464f4a commit f9c6515

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/test-replace-failed-postgresql.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ jobs:
8888
architecture=${{ matrix.install_architecture }} \
8989
version=${{ matrix.version }} \
9090
console_password=${{ secrets.CONSOLE_PASSWORD }}
91+
- name: Output contents of litmus_inventory.yaml
92+
run: |
93+
cat spec/fixtures/litmus_inventory.yaml
9194
- name: Replace failed PostgreSQL
9295
run: |
9396
echo ::group::prepare

plans/util/update_db_setting.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535

3636
$db_setting = "//${db}:5432/pe-puppetdb?ssl=true&sslfactory=org.postgresql.ssl.jdbc4.LibPQFactory&sslmode=verify-full&sslrootcert=/etc/puppetlabs/puppet/ssl/certs/ca.pem&sslkey=/etc/puppetlabs/puppetdb/ssl/${target.peadm::certname()}.private_key.pk8&sslcert=/etc/puppetlabs/puppetdb/ssl/${$target.peadm::certname()}.cert.pem" # lint:ignore:140chars
3737

38+
out::message("Updating PuppetDB database settings on ${target} to ${db_setting}")
3839
# Introduces dependency so PEADM can modify INI files
3940
apply($target) {
4041
ini_setting { 'database_setting':

0 commit comments

Comments
 (0)