Skip to content

Commit

Permalink
Enable block incr in test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
pgstef committed Aug 7, 2024
1 parent ddf3f94 commit 4fc34b4
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/roles/setup_check_pgbackrest/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ build_packages:
Debian:
- libjson-perl
- libdata-dump-perl
- perl-doc
RedHat:
- nagios-plugins
- perl-JSON
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
loop: "{{ pgbackrest_servers }}"
when: "'icinga2' in group_names"

- name: Create Icinga2 check retention services for repo host
- name: Create Icinga2 check archives services for repo host
telekom_mms.icinga_director.icinga_service:
state: present
url: "{{ icinga_url }}"
Expand Down
10 changes: 10 additions & 0 deletions tests/roles/setup_pgbackrest/templates/pgbackrest-dbserver.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ repo1-storage-verify-tls=n
repo1-retention-full={{ pgbackrest_repo_retention_full }}
repo1-cipher-type=aes-256-cbc
repo1-cipher-pass={{ pgbackrest_repo1_cipher_pass }}
repo1-bundle=y
repo1-block=y
start-fast=y
{% elif pgbackrest_repo_type == "azure" %}
repo1-type=azure
Expand All @@ -37,6 +39,8 @@ repo1-storage-verify-tls=n
repo1-retention-full={{ pgbackrest_repo_retention_full }}
repo1-cipher-type=aes-256-cbc
repo1-cipher-pass={{ pgbackrest_repo1_cipher_pass }}
repo1-bundle=y
repo1-block=y
start-fast=y
{% elif pgbackrest_repo_type == "multi" %}
repo1-type=s3
Expand All @@ -51,6 +55,8 @@ repo1-storage-verify-tls=n
repo1-retention-full={{ pgbackrest_repo_retention_full }}
repo1-cipher-type=aes-256-cbc
repo1-cipher-pass={{ pgbackrest_repo1_cipher_pass }}
repo1-bundle=y
repo1-block=y
repo2-type=azure
repo2-path=/repo2
repo2-storage-host={{ pgbackrest_repo_azure_host }}
Expand All @@ -61,13 +67,17 @@ repo2-storage-verify-tls=n
repo2-retention-full={{ pgbackrest_repo_retention_full }}
repo2-cipher-type=aes-256-cbc
repo2-cipher-pass={{ pgbackrest_repo2_cipher_pass }}
repo2-bundle=y
repo2-block=y
start-fast=y
{% else %}
repo1-type=posix
repo1-path={{ pgbackrest_repo_path }}
repo1-retention-full={{ pgbackrest_repo_retention_full }}
repo1-cipher-type=aes-256-cbc
repo1-cipher-pass={{ pgbackrest_repo1_cipher_pass }}
repo1-bundle=y
repo1-block=y
start-fast=y
{% endif %}
log-level-console=info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ repo1-storage-verify-tls=n
repo1-retention-full={{ pgbackrest_repo_retention_full }}
repo1-cipher-type=aes-256-cbc
repo1-cipher-pass={{ pgbackrest_repo1_cipher_pass }}
repo1-bundle=y
repo1-block=y
{% elif pgbackrest_repo_type == "azure" %}
repo1-type=azure
repo1-path=/repo1
Expand All @@ -23,6 +25,8 @@ repo1-storage-verify-tls=n
repo1-retention-full={{ pgbackrest_repo_retention_full }}
repo1-cipher-type=aes-256-cbc
repo1-cipher-pass={{ pgbackrest_repo1_cipher_pass }}
repo1-bundle=y
repo1-block=y
{% elif pgbackrest_repo_type == "multi" %}
repo1-type=s3
repo1-path=/repo1
Expand All @@ -36,6 +40,8 @@ repo1-storage-verify-tls=n
repo1-retention-full={{ pgbackrest_repo_retention_full }}
repo1-cipher-type=aes-256-cbc
repo1-cipher-pass={{ pgbackrest_repo1_cipher_pass }}
repo1-bundle=y
repo1-block=y
repo2-type=azure
repo2-path=/repo2
repo2-storage-host={{ pgbackrest_repo_azure_host }}
Expand All @@ -46,12 +52,16 @@ repo2-storage-verify-tls=n
repo2-retention-full={{ pgbackrest_repo_retention_full }}
repo2-cipher-type=aes-256-cbc
repo2-cipher-pass={{ pgbackrest_repo2_cipher_pass }}
repo2-bundle=y
repo2-block=y
{% else %}
repo1-type=posix
repo1-path={{ pgbackrest_repo_path }}
repo1-retention-full={{ pgbackrest_repo_retention_full }}
repo1-cipher-type=aes-256-cbc
repo1-cipher-pass={{ pgbackrest_repo1_cipher_pass }}
repo1-bundle=y
repo1-block=y
{% endif %}
log-level-console=info
log-level-file=debug
Expand Down

0 comments on commit 4fc34b4

Please sign in to comment.