cookbook 'tmux', '~> 1.5.0'
tmux (9) Versions 1.5.0 Follow20
Installs tmux
cookbook 'tmux', '~> 1.5.0', :supermarket
knife supermarket install tmux
knife supermarket download tmux
tmux Cookbook
Installs tmux, a terminal multiplexer.
Requirements
Platform with a package named 'tmux'. Does a source install on RHEL family.
Attributes
-
node['tmux']['install_method']
- source or package, uses the appropriate recipe. -
node['tmux']['version']
- version of tmux to download and install from source. -
node['tmux']['checksum']
- sha256 checksum of the tmux tarball -
node['tmux']['configure_options']
- array of command line options passed as arguments to the configure script when installing from source.
Usage
Use the recipe for the installation method you want to use, or set the attribute on the node to install from that recipe and use the default recipe. The default recipe also manages /etc/tmux.conf
.
On RHEL family, node['tmux']['install_method']
is set to source by default. To install from package, the yum::epel
recipe is required to get the tmux package, and the attribte would need to be set explicitly.
When installing from source, an install prefix can be set with the configure_options
attribute. For example:
default['tmux']['configure_options'] << "--prefix=/opt/tmux"
There are two "private" recipes, _package
, and _source
that are not meant to be included directly in a run_list. They are used by the default recipe and toggled with the node attribute install_method
.
Development
See TESTING.md.
License & Authors
- Author: Joshua Timberman (joshua@opscode.com)
Copyright: 2009-2012, Opscode, Inc. (<legal@opscode.com>) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
tmux Cookbook CHANGELOG
This file is used to list changes made in each version of the tmux
cookbook.
v1.5.0
Improvements
- Adds source_url attribute to control tmux source url
- Dynamically choose source installation version based on platform
- Change default source from sourceforge to tmux
- Fix rubocop offenses and update test dependencies
Thanks to Bernhard Kohler and Greg Karékinian.
v1.4.0
Improvement
-
COOK-3582 - Add
install_prefix
andconfigure_opts
attributes - COOK-3556 - Add Test Kitchen 1.0, ChefSpec, Rubocop
v1.3.2
Improvement
- COOK-3364 - Use tmux 1.8 for source installations
v1.3.0
Improvement
- [COOK-2547]: Add more options to tmux.conf template
v1.2.2
The repository didn't have pushed commits, and so the following changes from earlier-than-latest versions wouldn't be available on the community site. We're releasing 1.2.2 to correct this.
- [COOK-1841] - recipe downloads tmux tar everytime, even if its installed
v1.2.0
- [COOK-1649] - Typo in tmux default attributes
- [COOK-1652] - Missing deps for building tmux on centos
- [COOK-1756] - Allow tmux to be installed via source or package based on attribute
v1.1.2
- [COOK-1841] - recipe downloads tmux tar everytime, even if its installed
v1.1.0
- Added test-kitchen support
v1.0.1
- Add test kitchen support (test directory not included in release to community site)
- [COOK-1366] - default config template, TravisCI and CentOS support
v1.0.0
- Initial Release
Collaborator Number Metric
1.5.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.5.0 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
1.5.0 failed this metric
FC064: Ensure issues_url is set in metadata: tmux/metadata.rb:1
FC065: Ensure source_url is set in metadata: tmux/metadata.rb:1
FC066: Ensure chef_version is set in metadata: tmux/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: tmux/metadata.rb:1
FC069: Ensure standardized license defined in metadata: tmux/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.5.0 passed this metric
Testing File Metric
1.5.0 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
1.5.0 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
1.5.0 failed this metric
1.5.0 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
1.5.0 failed this metric
FC064: Ensure issues_url is set in metadata: tmux/metadata.rb:1
FC065: Ensure source_url is set in metadata: tmux/metadata.rb:1
FC066: Ensure chef_version is set in metadata: tmux/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: tmux/metadata.rb:1
FC069: Ensure standardized license defined in metadata: tmux/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.5.0 passed this metric
Testing File Metric
1.5.0 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
1.5.0 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
1.5.0 failed this metric
FC065: Ensure source_url is set in metadata: tmux/metadata.rb:1
FC066: Ensure chef_version is set in metadata: tmux/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: tmux/metadata.rb:1
FC069: Ensure standardized license defined in metadata: tmux/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.5.0 passed this metric
Testing File Metric
1.5.0 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
1.5.0 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
1.5.0 failed this metric
1.5.0 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