refactor: move to ruby-script facts

- change enc_role_path fact to be ruby
- add enc_role_tier1, enc_role_tier2 and enc_role_tier3
- add new paths to hiera.yaml
This commit is contained in:
2023-11-11 23:32:59 +11:00
parent f73c16bca2
commit 1b9a4f7832
6 changed files with 61 additions and 2 deletions
@@ -1,2 +1 @@
enc_role=<%= @enc_role[0] %>
enc_role_path=<%= @enc_role[0].gsub('::', '/') %>