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

RSS

wemux (4) Versions 0.1.6

Install and configures wemux

Berkshelf/Librarian
Policyfile
Knife
cookbook 'wemux', '~> 0.1.6'
cookbook 'wemux', '~> 0.1.6', :supermarket
knife cookbook site install wemux
knife cookbook site download wemux
README
Dependencies
Changelog
Quality 22%

Wemux cookbook

Install and configure wemux

Usage

Add the default recipe to your run list to have wemux installed and configured on the system:

run_list('recipe[wemux]')

Configuration is attribute driven via the config attributes:

default_attributes(
  :wemux => {
    :config => {
      :allow_pair_mode => true,
      :allow_rogue_mode => true,
      :allow_server_change => true,
      :host_list => []
    }
  }
)

The above is the default configuration applied by the cookbook. If you want to administer the wemux session, add your username to the host_list array.

Tmux configuration

A basic tmux configuration file will be written to /etc/tmux.conf. This configuration will simply remap the control key from b to q. This can be adjusted using the node[:wemux][:tmux][:control_key].

If you do not want this file written, simply disable it:

node.set[:wemux][:tmux][:write] = false

Add extra lines to the file via the config attribute:

node.set[:wemux][:tmux][:config] = ['line1', 'line2']

Users

The wemux::users recipe is a helper to manage users via data bag (basically riding on top of the users cookbook. It will look for a wemux key and make changes:

{
  "id": "my_user",
  "wemux": {
    "mode": "mirror", # "pair", "rogue" (defaults "mirror")
    "admin": false
  }
}

A .bashrc file will be created for users which will automatically launch wemux in the configured mode and exit them on detach.

Users with the admin flag set to true will automatically be added to the host_list array and will not have their .bashrc file updated.

Infos

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

v0.1.6

  • Include support for configuring tmux.conf

v0.1.4

  • Fix attribute setter method name
  • Add tmux configuration to disable window renames

v0.1.2

  • Add real information to README
  • Fix attribute typo within config
  • Add basic tmux configuration for remapping control key

v0.1.0

  • Initial release

Collaborator Number Metric
            

0.1.6 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.1.6 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.1.6 failed this metric

FC064: Ensure issues_url is set in metadata: wemux/metadata.rb:1
FC065: Ensure source_url is set in metadata: wemux/metadata.rb:1
FC066: Ensure chef_version is set in metadata: wemux/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: wemux/metadata.rb:1
FC068: Ensure license is set in metadata: wemux/metadata.rb:1
FC069: Ensure standardized license defined in metadata: wemux/metadata.rb:1
Run with Foodcritic Version 12.2.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.1.6 failed this metric

wemux does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.

No Binaries Metric
            

0.1.6 passed this metric

Publish Metric
            

0.1.6 passed this metric

Supported Platforms Metric
            

0.1.6 failed this metric

wemux should declare what platform(s) it supports.

Testing File Metric
            

0.1.6 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.1.6 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number