Merge pull request #40 from atomic-penguin/target-6-1-stable

Code clean-up/refactor
Merge branch 'target-6-1-stable'
gitlab cookbook v6.1.0

Clean up some of the code to target [6-1-stable branch](https://github.com/gitlabhq/gitlabhq/blob/6-1-stable/doc/install/installation.md)

* Move gitlab.home to /srv/git - [FHS 2.3](http://www.pathname.com/fhs/pub/fhs-2.3.html)
* Use ruby_build to compile 1.9.3 by default per gitlabhq documentation.
* Clean up both cookbook and package dependencies.
* Remove ruby-shadow, included in Omnibus, not needed anyway as no
  password is set.
* Use gitconfig template, instead of execute.
* Add test-kitchen skeleton, and certificate data_bag integration.
  - Add gitlab.certificate_databag_id to deploy certificate from encrypted databag.
* Minor sudo fix in gitlab init script.
* Use nginx_site definition to disable default nginx site.
* Add nginx_server_names array for hostname match precedence over potential default sites matching `_`.
fixed vagrant testing by moving up include_recipe block for database setup
Added support for LDAP configuration in templates/default/gitlab.yml.erb
Updated README to include LDAP Authentication Attributes
Changed templates/default/gitlab.yml.erb satellites path to use the @git_home variable
Added support for enabling/disabling Gravatar
Merge branch 'ldap-authentication'

of github.com:jmaziarz/cookbook-gitlab into jmaziarz-ldap-authentication
Merge branch 'satellites-path'

of github.com:jmaziarz/cookbook-gitlab into jmaziarz-satellites-path
Merge branch 'gravatar-enabled' of github.com:jmaziarz/cookbook-gitlab into jmaziarz-gravatar-enabled

Conflicts:
	attributes/default.rb
Gitlab CB v6.1.10

Bugs squashed:

  * Re-order database components to fix Ubuntu Test-Kitchen run. #44
  * Update port forwarding configuration in kitchen.yml. #46
  * Update Satellite paths to fix Gitlab forking. #50
  * ruby-build installs to node['gitlab']['home'], avoiding PATH hacks
    for Rake.  Use node['gitlab']['install_ruby_path'] to override. #16
  * ruby-build failing on 1.9.3-p448, bump version to 1.9.3-p484.
  * Pinned yum dependency on < 3.0.0

Features added:

  * Add knob for disabling Gravatar. #51
  * Add LDAP Authentication support. #49

Removed:

  * sudo cookbook dependency removed. #52
added restart of service on configuration change
added explicit delay of restart gitlab service
specify user's host when create user
fix invalid name
Fixed the issue where listen_port configuration has no effect.
Fixed dependency issue with yum.
Fixed the issue with git clone via ssh when https is used and custom listen port is configured.
Add #57 to postgres recipe