dgivens/chef-lsyncd — pull request #2 by brint (2014-02-18 02:33:02+00:00)
Title: Add user option to LWRP, updated templates

Probably should have broken this into multiple commits but got carried away..
* Added a `user` option to the LWRP so that a non-root user can be specified to be used for lsync operations; Added unit test for providing user with the LWRP
* Split out templates based on platform, there are minor differences in how `rsync` options are handled across versions that can cause failure. In Ubuntu 12.04 it's with `rsyncOps`, with Debian 7.4 it is `rsyncOpts`, and with CentOS 6.5 it is `rsync = { _extra ..`
* Updated Vagrantfile to use the same images as test kitchen for easier development, dropped the ssh lines that are no longer valid in the current version of `vagrant`, added omnibus.

Other note:
* Unit tests are still failing since `host 'test'` is being used. We could probably create a ssh key pair and have it sync against localhost as a workaround to get tests passing.