From ee1a976abf7388959275a6771531861281c3df53 Mon Sep 17 00:00:00 2001 From: Adrian Parreiras Horta Date: Tue, 30 Jan 2024 13:18:42 -0800 Subject: [PATCH] Add rspec specific hierarchy --- data/rspec.yaml | 26 ++++++++++++++++++++++++++ hiera-rspec.yaml | 10 ++++++++++ 2 files changed, 36 insertions(+) create mode 100644 data/rspec.yaml create mode 100644 hiera-rspec.yaml diff --git a/data/rspec.yaml b/data/rspec.yaml new file mode 100644 index 0000000..48896a1 --- /dev/null +++ b/data/rspec.yaml @@ -0,0 +1,26 @@ +pe_databases::facts_tables_repack_timer: + 'Tue,Sat *-*-* 04:30:00' +pe_databases::catalogs_tables_repack_timer: + 'Sun,Thu *-*-* 04:30:00' +pe_databases::other_tables_repack_timer: + '*-*-20 05:30:00' +pe_databases::activity_tables_repack_timer: + 'Wed,Fri *-*-* 04:30:00' +pe_databases::pg_repack::fact_tables: + - factsets + - fact_paths +pe_databases::pg_repack::catalog_tables: + - catalogs + - catalog_resources + - catalog_inputs + - edges + - certnames +pe_databases::pg_repack::other_tables: + - producers + - resource_params + - resource_params_cache +pe_databases::pg_repack::activity_tables: + - events + - event_commits +pe_databases::pg_repack::repack_log_level: 'INFO' +pe_databases::pg_repack::enable_echo: false diff --git a/hiera-rspec.yaml b/hiera-rspec.yaml new file mode 100644 index 0000000..30b09fb --- /dev/null +++ b/hiera-rspec.yaml @@ -0,0 +1,10 @@ +--- +version: 5 + +defaults: # Used for any hierarchy level that omits these keys. + datadir: data # This path is relative to hiera.yaml's directory. + data_hash: yaml_data # Use the built-in YAML backend. + +hierarchy: + - name: 'rspec' + path: 'rspec.yaml'