Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status


lsyncd (6) Versions 0.1.2

Installs/Configures lsyncd

cookbook 'lsyncd', '= 0.1.2', :supermarket
cookbook 'lsyncd', '= 0.1.2'
knife supermarket install lsyncd
knife supermarket download lsyncd
Quality -%

chef-lsyncd Build Status


Installs/configures lsyncd.



  • CentOS 6
  • RHEL 6


  • node["lsyncd"]["logfile"] - log file for lsyncd, defaults to "/var/log/lsyncd.log"
  • node["lsyncd"]["statusFile"] - status file for lsyncd, defaults to "/var/log/lsyncd-status.log"
  • node["lsyncd"]["statusInterval"] - minimum seconds before updating status file, defaults to 20
  • node["lsyncd"]["sync"] - Array of sync configurations, defaults to [], examples in Usage section


  • recipe[lsyncd] will install/configure lsyncd.
  • recipe[lsyncd::source] will install lsyncd from source.


Package installation and configuration

  • Add sync configurations via node["lsyncd"]["sync"] attribute
  • Add recipe[lsyncd] to your node's run list

Source installation

  • Add recipe[lsyncd::source] to your node's run list

Sync configuration

Select a mode for the sync for further attributes.

Attributes for all modes:
* mode - "rsync" or "rsyncssh" - defaults to "rsync"
* source - required - path to source directory - no default
* exclude - array of file exclusion strings - no default
* excludeFrom - path to exclude file - no default

rsync mode

For remote targets, normal rsync behavior of rsync all changes over the wire.

* host - remote host, used in conjunction with targetdir - no default
* rsyncOpts - array of rsync option strings, lsyncd defaults this to "-lts"
* target - full specification for destination ([host::]/target/dir) - no
* targetdir - target directory, possibly used in conjunction with host -
no default


"sync" => [
    "mode" => "rsync",
    "source" => "/my/source/dir",
    "target" => "remotehost::/my/target/dir"

rsyncssh mode

Causes moves and copies to be executed on the remote host via SSH, rather than
retransmitting files over the wire. Normal rsync behavior otherwise.

* host - required - remote host - no default
* rsyncOpts - array of rsync option strings, lsyncd defaults this to "-lts"
* targetdir - required - target directory - no default


"sync" => [
    "mode" => "rsyncssh",
    "source" => "/my/source/dir",
    "host" => "remotehost",
    "targetdir" => "/my/target/dir"

Testing and Development

  • Quickly testing with Vagrant: [](
  • Full development and testing workflow with Test Kitchen and friends: [](


Please see contributing information in: [](



Please see licensing information in: [LICENSE](LICENSE)

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found