Skip to content

Commit f429b8e

Browse files
committed
fixup2
1 parent a6303b1 commit f429b8e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/integration_test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,17 @@ jobs:
8585
8686
# Redact password and inject postgres_version
8787
awk '
88-
/password:/ {
89-
print " password: \"[redacted]\""
90-
print " puppet_enterprise::params::postgres_version: \"13\""
88+
/^(\s*)password:/ {
89+
indent = substr($0, 1, match($0, /[^ ]/) - 1)
90+
print indent "password: \"[redacted]\""
91+
print indent "puppet_enterprise::params::postgres_version: \"13\""
9192
next
9293
}
9394
{ print }
9495
' "$FILE" > "$FILE.tmp" && mv "$FILE.tmp" "$FILE"
9596
9697
98+
9799
- name: Install PE
98100
run: |
99101
bundle exec bolt --modulepath spec/fixtures/modules -i ./spec/fixtures/litmus_inventory.yaml plan run ntp::acceptance::pe_server

0 commit comments

Comments
 (0)