---
:backends:
  - json
:hierarchy:
  - defaults
  - clientcert/%{::clientcert}
  - environment/%{::environment}
  - global

:json:
  :datadir: /etc/puppet/hiera/data

---
:backends:
  - json
:hierarchy:
  - clientcert/%{::clientcert}
  - environment/%{::environment}
  - defaults

:json:
  :datadir: /etc/puppet/hiera/data

Remove global, move default to end - to act as default
Remove global, move default to end - to act as default
