title: Get hiera value in puppet manifest with nested keys
body: <p>I'm new to using hiera with puppet (and somewhat new to puppet).</p>
  
  <p>I've written this bit of yaml:</p>
  
  <pre><code>---
  web_mysql_server:
   mysql_database: "my_production"
  </code></pre>
  
  <p>and then I try to use it in a puppet manifest thus:</p>
  
  <pre><code>database =&gt; hiera('web_mysql_server::mysql_database'),
  </code></pre>
  
  <p>And this does not work, generating the error</p>
  
  <pre><code>Error: Could not find data item web_mysql_server::mysql_database
    in any Hiera data file and no default supplied at
    /vagrant/puppet/modules/web_mysql_server/manifests/init.pp:33
    on node railstest.vm
  </code></pre>
  
  <p>(where I've added some <code>'\n'</code>'s for readability here).</p>
  
  <p>I suspect (hope!) this is a simple syntax error that I'm not getting.  Anyone see what I'm doing wrong?</p>