title: is it good practice to add nodes and client folder to chef server template
body: <p>I am still learning about chef. I have bootstrapped and uploaded my server-template to remote repository. But am wondering if its safe to add <code>nodes</code> directory to <code>remote</code> repository as it contains exact server <code>passwords</code></p>
  
  <p>Here is an example node </p>
  
  <pre><code>{
    "environment":"production",
    "authorization": {
      "sudo": {
        // The password for the depliy user is set in data_bags/users/deploy.json
        // and should be generated using:
        // openssl passwd -1 "plaintextpassword"
        "users": ["deploy", "vagrant"]
      }
    },
  
    "vagrant" : {
      "exclusions" : [],
      "name" : "rails-postgres-redis1",
      "ip" : "192.168.50.4"
    },
    "rbenv":{
      "rubies": [
        "2.1.2"
      ],
      "global" : "2.1.2",
      "gems": {
        "2.1.2" : [
          {"name":"bundler"}
        ]
      }
    },
    "monit": {
      "notify_emails" : ["email@example.com"],
      "enable_emails" : false,
      "web_interface" : {
        // the plaintext monit username and password
        "allow" : ["your_username","your_password"]
      },
      "mailserver" : {
        "host" : "mailserver.example.com",
        "port" : "999",
        "username" : "your_username",
        "password" : "your_password",
        "hostname" : "the_hostname"
      }
    },
    "postgresql" : {
      "password" : {
        // this should be generated with:
        // openssl passwd -1 "plaintextpassword"
        // currently test
        "postgres" : "$1$mMK9HNoN$r42n7Q8fKsZabbknlT1Zt1"
      }
    },
    "run_list":
    [
      "role[server]",
      "role[nginx-server]",
      "role[postgres-server]",
      "role[rails-app]",
      "role[redis-server]",
    ]
  }
  </code></pre>
  
  <p>As the passwords are visible is it safe to add like this? </p>
  
  <p>If it should be in gitignore then at a later stage if we clone from the remote repo then we need to bootstrap the server from scratch as there is no node directory exists right? </p>
  
  <p>Is there a better way or am I missing something here? </p>