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

RSS

wemux (4) Versions 0.1.4

Install and configures wemux

Policyfile
Berkshelf
Knife
cookbook 'wemux', '= 0.1.4', :supermarket
cookbook 'wemux', '= 0.1.4'
knife supermarket install wemux
knife supermarket download wemux
README
Dependencies
Changelog
Quality 0%

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

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.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

Foodcritic Metric
            

0.1.4 failed this metric

FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/b4f2585e26afe50477f5e4ae/wemux/attributes/config.rb:1
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/b4f2585e26afe50477f5e4ae/wemux/attributes/config.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/b4f2585e26afe50477f5e4ae/wemux/attributes/config.rb:3
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/b4f2585e26afe50477f5e4ae/wemux/attributes/config.rb:4
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/b4f2585e26afe50477f5e4ae/wemux/attributes/config.rb:5
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/b4f2585e26afe50477f5e4ae/wemux/attributes/default.rb:1
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/b4f2585e26afe50477f5e4ae/wemux/attributes/default.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/b4f2585e26afe50477f5e4ae/wemux/attributes/default.rb:3
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/b4f2585e26afe50477f5e4ae/wemux/attributes/users.rb:1
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/b4f2585e26afe50477f5e4ae/wemux/attributes/users.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/b4f2585e26afe50477f5e4ae/wemux/recipes/default.rb:1
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/b4f2585e26afe50477f5e4ae/wemux/recipes/default.rb:31
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/b4f2585e26afe50477f5e4ae/wemux/recipes/default.rb:45
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/b4f2585e26afe50477f5e4ae/wemux/recipes/default.rb:47
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/b4f2585e26afe50477f5e4ae/wemux/recipes/default.rb:53
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/b4f2585e26afe50477f5e4ae/wemux/recipes/users.rb:4
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/b4f2585e26afe50477f5e4ae/wemux/recipes/users.rb:10
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/b4f2585e26afe50477f5e4ae/wemux/recipes/users.rb:23
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/b4f2585e26afe50477f5e4ae/wemux/recipes/users.rb:29
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/b4f2585e26afe50477f5e4ae/wemux/recipes/users.rb:10
FC040: Execute resource used to run git commands: /tmp/cook/b4f2585e26afe50477f5e4ae/wemux/recipes/default.rb:5
FC040: Execute resource used to run git commands: /tmp/cook/b4f2585e26afe50477f5e4ae/wemux/recipes/default.rb:11