title: Chef: grafana community recipe error
body: <p>I'm using the following recipe from chef supermarket: <a href="https://supermarket.chef.io/cookbooks/grafana" rel="nofollow noreferrer">https://supermarket.chef.io/cookbooks/grafana</a></p>
  
  <p>When I try to execute the following code it crashes:</p>
  
  <pre><code>grafana_user 'lechucico' do
    user(
      name: 'lechucico',
      email: 'lechucico@example.com',
      password: 'lechu',
      isAdmin: true,
      organizations: [
        { name: 'Administration', role: 'Admin' },
        { name: 'Marketing', role: 'Admin' }
      ]
    )
    action :create
  end
  </code></pre>
  
  <p>This error raises:</p>
  
  <pre><code>Chef::Exceptions::ValidationFailed
  ==&gt; default: ----------------------------------
  ==&gt; default: Option user must be a kind of [String]!  You passed {"name"=&gt;"lechucico", "email"=&gt;"lechucico@example.com", "password"=&gt;"lechu", "isAdmin"=&gt;true, "organizations"=&gt;[{"name"=&gt;"Administration", "role"=&gt;"Admin"}, {"name"=&gt;"Marketing", "role"=&gt;"Admin"}]}.
  ==&gt; default:
  ==&gt; default: Cookbook Trace:
  ==&gt; default: ---------------
  ==&gt; default:   /var/chef/cache/cookbooks/living-grafana/recipes/default.rb:50:in `block in from_file'
  ==&gt; default:   /var/chef/cache/cookbooks/living-grafana/recipes/default.rb:49:in `from_file'
  ==&gt; default:
  ==&gt; default: Relevant File Content:
  ==&gt; default: ----------------------
  ==&gt; default: /var/chef/cache/cookbooks/living-grafana/recipes/default.rb:
  ==&gt; default:
  ==&gt; default:  43:  #  )
  ==&gt; default:  44:  #  action :update
  ==&gt; default:  45:  #end
  ==&gt; default:  46:
  ==&gt; default:  47:  grafana_organization 'Marketing'
  ==&gt; default:  48:
  ==&gt; default:  49:  grafana_user 'lechucico' do
  ==&gt; default:  50&gt;&gt;   user(
  ==&gt; default:  51:      'name' =&gt; 'lechucico',
  ==&gt; default:  52:      'email' =&gt; 'lechucico@example.com',
  ==&gt; default:  53:      'password' =&gt; 'lechu',
  ==&gt; default:  54:      'isAdmin' =&gt; true,
  ==&gt; default:  55:      'organizations' =&gt; [
  ==&gt; default:  56:        { 'name' =&gt;  'Administration', 'role' =&gt;  'Admin' },
  ==&gt; default:  57:        { 'name' =&gt;  'Marketing', 'role' =&gt;  'Admin' }
  ==&gt; default:  58:      ]
  ==&gt; default:  59:    )
  ==&gt; default:
  ==&gt; default: Platform:
  ==&gt; default: ---------
  ==&gt; default: x86_64-linux
  </code></pre>
  
  <p>Why this isn't working?</p>
  
  <p>Some links with information:</p>
  
  <p><a href="https://github.com/JonathanTron/chef-grafana" rel="nofollow noreferrer">https://github.com/JonathanTron/chef-grafana</a></p>
  
  <p><a href="https://github.com/JonathanTron/chef-grafana/pull/136" rel="nofollow noreferrer">https://github.com/JonathanTron/chef-grafana/pull/136</a></p>