title: Why Chef do not find my files?
body: <p>I'm developing a <code>Ganglia</code> recipe in <code>Chef</code>.
  Is very simple, I build four different configurations files, I already tried to use as <code>template</code>, but to keep it simple, I build these configuration files.</p>
  
  <p>This is my recipe:</p>
  
  <pre class="lang-rb prettyprint-override"><code>return if tagged?('norun::ganglia')
  
  case node[:platform]
    when "ubuntu", "debian"
      pkg = "ganglia-monitor"
    when "redhat", "centos", "fedora"
      pkg = "ganglia-gmond"
  end
  
  package "#{pkg}" do
      action :install
  end
  
  cookbook_file "/etc/ganglia/gmond.conf" do
      owner "root"
      group "root"
      mode "0644"
      source "gmond/" + node['base']['dc'] + "/node/gmond.conf" 
  end
  
  # Adding ganglia-gmond as service
  service "gmond" do
    supports :status =&gt; true,
             :restart =&gt; true
    action [ :enable, :start ]
  end
  </code></pre>
  
  <p>And this is how my recipe is structured:</p>
  
  <pre><code>cookbooks/ganglia/
  cookbooks/ganglia/files/default/gmond/* // I have others sub-folders here too
  cookbooks/ganglia/files/default/gmond/diveo/node/gmond.conf
  cookbooks/ganglia/recipes/default.rb
  </code></pre>
  
  <p>But when I tried to run my recipe, it gives the follow error:</p>
  
  <pre><code>[2013-05-14T14:23:38+00:00] FATAL: Chef::Exceptions::FileNotFound: cookbook_file[/etc/ganglia/gmond.conf] (ganglia::default line 25) had an error: Chef::Exceptions::FileNotFound: Cookbook 'ganglia' (0.1.0) does not contain a file at any of these locations:
    files/centos-5.7/gmond/diveo/node/gmond.conf
    files/centos/gmond/diveo/node/gmond.conf
    files/default/gmond/diveo/node/gmond.conf
  
  This cookbook _does_ contain: ['diveo/monitor/gmond.conf','diveo/node/gmond.conf','awsvir/monitor/gmond.conf','awsvir/node/gmond.conf','awssp/monitor/gmond.conf','awssp/node/gmond.conf','alog/monitor/gmond.conf','alog/node/gmond.conf']
  </code></pre>
  
  <p>Basically it says that I not have the file, but I do, in the right path, right ?</p>