title: hiera merging not working
body: <p>I am trying to implement hiera merging. hier is my hiera.yaml</p>
  
  <pre><code>---
  :hierarchy:
   - fqdn/%{fqdn}
   - roles/%{role}
   - os/%{osfamily}
   - common
  :backends:
   - yaml
  # options are native, deep, deeper
  :merge_behavior: deeper
  :yaml:
   :datadir: /etc/puppet/environments/%{environment}/data
  </code></pre>
  
  <p>then I have:
  common.yaml </p>
  
  <pre><code>---
  classes: 
   - a
   - b 
  </code></pre>
  
  <p>and fqdn/some.host.yaml </p>
  
  <pre><code>---
  classes: 
   - c
   - d
  </code></pre>
  
  <p>running</p>
  
  <pre><code>hiera --debug -c /etc/puppet/hiera.yaml classes fqdn=some.host environment=development
  ["c", "d"]
  </code></pre>
  
  <p>and</p>
  
  <pre><code>hiera --debug -c /etc/puppet/hiera.yaml classes fqdn=blablahost environment=development
  ["a", "b"]
  </code></pre>
  
  <p>so the "blablahost" take a common.yaml and applied "a" and "b" classes.. but fqdn=some.host should apply a,b,c,d.. and not only c,d ... what am I doing wrong?</p>
  
  <p>Regards</p>