---
:hierarchy:
    - "secrets/nodes/%{verified_host}.secrets"
    - "secrets/common.secrets"
    - "nodes/%{verified_host}"
    - "%{location}/roles/%{role}-%{variant}"
    - "%{location}/roles/%{role}"
    - "%{location}/modules/%{calling_module}"
    - "%{location}/common"
    - "common/roles/%{role}-%{variant}"
    - "common/roles/%{role}"
    - "common/modules/%{calling_module}"
    - "common/common"

:merge_behavior: deeper
:backends:
    - yaml
:yaml:
    :datadir: /etc/puppet/hieradata

---
:hierarchy:
    - "secrets/nodes/%{verified_host}.secrets"
    - "secrets/%{location}-common.secrets"
    - "nodes/%{verified_host}"
    - "%{location}/roles/%{role}-%{variant}"
    - "%{location}/roles/%{role}"
    - "%{location}/modules/%{calling_module}"
    - "%{location}/common"
    - "common/roles/%{role}-%{variant}"
    - "common/roles/%{role}"
    - "common/modules/%{calling_module}"
    - "common/common"

:merge_behavior: deeper
:backends:
    - yaml
:yaml:
    :datadir: /etc/puppet/hieradata

Switch to location specific 'common'
Switch to location specific 'common'
