title: troubles with data bags in chef/knife
body: <p>i try to create users on remote system by chef/knife, but something goes wrong...
  here is my steps:</p>
  
  <ol>
  <li>installing "user" cookbook</li>
  </ol>
  
  <blockquote>
    <p>knife cookbook site install user</p>
  </blockquote>
  
  <ol>
  <li>creating data bag for it</li>
  </ol>
  
  <blockquote>
    <p>knife data bag create users</p>
  </blockquote>
  
  <ol>
  <li>creating a json file with options</li>
  </ol>
  
  <blockquote>
    <p>cat data_bags/users/fatal.json<br>
       {<br>
           "id": "fatal",<br>
           "uid": "1002",<br>
           "home": "/home/fatal",<br>
           "groups": "sudo",<br>
           "shell": "/bin/bash",<br>
           "password": "$6$wkWXnXUk$xjaISNyG3cDGU2XYBAf."<br>
         }  </p>
  </blockquote>
  
  <ol>
  <li>exporting it in my data bag</li>
  </ol>
  
  <blockquote>
    <p>knife data bag from file users data_bags/users/fatal.json</p>
  </blockquote>
  
  <ol>
  <li>adding recipe "user" to my remote node</li>
  </ol>
  
  <blockquote>
    <p>knife node chef-test-client show<br>
       Node Name:   chef-test-client<br>
       Environment: _default<br>
       FQDN:        chef-test-client<br>
       IP:          192.168.16.777<br>
       Run List:    recipe[group], recipe[user]<br>
       Roles:<br>
       Recipes:     group, user<br>
       Platform:    debian 7.1<br>
       Tags:          </p>
  </blockquote>
  
  <ol>
  <li>uploading it on knife server</li>
  </ol>
  
  <blockquote>
    <p>knife cookbook upload user</p>
  </blockquote>
  
  <ol>
  <li>synchronizing on my remote node</li>
  </ol>
  
  <blockquote>
    <p>chef-client<br>
       Starting Chef Client, version 11.8.0<br>
       resolving cookbooks for run list: ["group::data_bag", "user::data_bag"]<br>
       Synchronizing Cookbooks:<br>
         - user<br>
         - group<br>
       Compiling Cookbooks...<br>
       Converging 0 resources<br>
       Chef Client finished, 0 resources updated  </p>
  </blockquote>
  
  <p>so nothing happens, user is not created; what am i doing wrong ?, guys please help me to deal with it</p>
  
  <p>UPDATE:</p>
  
  <p>in USAGE section on <a href="http://fnichol.github.io/chef-user/" rel="nofollow">http://fnichol.github.io/chef-user/</a></p>
  
  <blockquote>
    <p>To use recipe[user::data_bag], include it in your run_list and have a data bag called  >"users"  </p>
  </blockquote>
  
  <p>so i changed my Run List settings to:</p>
  
  <pre><code>knife node show chef-test-client  
  Node Name:   chef-test-client  
  Environment: _default  
  FQDN:        chef-test-client   
  IP:          192.168.16.777  
  Run List:    recipe[user::data_bag], recipe[group::data_bag]  
  Roles:         
  Recipes:     user::data_bag, group::data_bag  
  Platform:    debian 7.1  
  </code></pre>
  
  <p>and my data bag:</p>
  
  <pre><code>knife data bag show users fatal  
  groups:   sudo  
  home:     /home/fatal  
  id:       fatal  
  password:  &gt;$6$wkWXnXUk$xjaISNyG3cDGU2X  
  shell:    /bin/bash  
  uid:      1002  
  </code></pre>
  
  <p>and nothing happens again :(</p>