title: Chef recipe not found for cookbook
body: <p>I am trying to use Chef's PostgreSQL cookbook:
  <a href="https://supermarket.chef.io/cookbooks/postgresql#readme" rel="nofollow noreferrer">https://supermarket.chef.io/cookbooks/postgresql#readme</a></p>
  <p>I am getting this error:</p>
  <pre><code>Chef::Exceptions::RecipeNotFound: could not find recipe default for cookbook postgresql
  </code></pre>
  <p>I don't see a default.rb in the repo:
  <a href="https://github.com/sous-chefs/postgresql/find/main" rel="nofollow noreferrer">https://github.com/sous-chefs/postgresql/find/main</a></p>
  <p>I've added the dependencies to Berksfile and metadata.rb and in my recipe added:</p>
  <pre><code>include_recipe 'postgresql'
  </code></pre>
  <p>I also added a default.rb to my repo and <code>include_recipe 'postgresql'</code> to that.
  Still keeps saying no default recipe. Am I missing something here?</p>
  <p><strong>Edit:</strong></p>
  <p>Based on seshadri_c's answer, this is error is now gone.
  I'm trying to install extension.
  Have this in my default.rb:</p>
  <pre><code>postgresql_extension 'postgres adminpack' do 
     database 'postgres' 
     extension 'adminpack' 
  end 
  </code></pre>
  <p>But get error</p>
  <pre><code>FATAL: NoMethodError: postgresql_extension[postgres adminpack] (******::default line 5) had an error: NoMethodError: bash[CREATE EXTENSION postgres adminpack] (/tmp/packer-chef-solo/local-mode-cache/cache/cookbooks/postgresql/resources/extension.rb line 31) had an error: NoMethodError: undefined method `[]' for nil:NilClass[0m 
  </code></pre>