title: Puppet/Hiera: hashed variable definition is not replaced
body: <p>My yaml file contains a hashed definition, "nodemanager_instances". The value of the variable, 'nodemanager_port', is not replaced while I am executing puppet. In my common.yaml file, the value is defined. Can anyone find a reason why this is not working?</p>
  
  <p><strong>mwpapp.yaml</strong></p>
  
  <pre><code>nodemanager_instances:
    'nodemanager':
      nodemanager_port: "%{domain_nodemanager_port}"
      domain_name:      "%{::sysfunc}"
  </code></pre>
  
  <p><strong>common.yaml</strong></p>
  
  <pre><code>domain_nodemanager_port: "5552"
  </code></pre>
  
  <p><strong>hiera.yaml</strong></p>
  
  <pre><code>:backends:
      - yaml
  
  :yaml:
      :datadir: /etc/puppet/manifests/hiera
  
  :hierarchy:
      - "hostname/%{::hostname}"
      - "sysfunc/%{::sysfunc}"
      - "appotap/%{::app}%{::otap}"
      - "otap/%{::otap}"
      - "domain/%{::domain}"
      - "colo/colo-%{::colo}"
      - "os/%{::operatingsystem}/%{::operatingsystem}-%{::operatingsystemrelease}"
      - "os/%{::operatingsystem}"
      - common/common
  </code></pre>