From 8fb388c177eac73ce681169f274d2bc07ffcb8c5 Mon Sep 17 00:00:00 2001 From: jtimberman Date: Mon, 6 Sep 2010 23:59:28 -0600 Subject: [PATCH] add tmux cookbook --- tmux/README.md | 28 ++++++++++++++++++++++++++++ tmux/metadata.json | 29 +++++++++++++++++++++++++++++ tmux/metadata.rb | 6 ++++++ tmux/recipes/default.rb | 21 +++++++++++++++++++++ 4 files changed, 84 insertions(+) create mode 100644 tmux/README.md create mode 100644 tmux/metadata.json create mode 100644 tmux/metadata.rb create mode 100644 tmux/recipes/default.rb diff --git a/tmux/README.md b/tmux/README.md new file mode 100644 index 000000000..91dbb4e3d --- /dev/null +++ b/tmux/README.md @@ -0,0 +1,28 @@ +DESCRIPTION +=========== + +Installs tmux, a terminal multiplexer. + +REQUIREMENTS +============ + +Platform with a package named 'tmux'. + +LICENSE AND AUTHOR +================== + +Author:: Joshua Timberman () + +Copyright:: Opscode, Inc. () + +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. diff --git a/tmux/metadata.json b/tmux/metadata.json new file mode 100644 index 000000000..3940385c5 --- /dev/null +++ b/tmux/metadata.json @@ -0,0 +1,29 @@ +{ + "name": "tmux", + "description": "Installs tmux", + "long_description": "DESCRIPTION\n===========\n\nInstalls tmux, a terminal multiplexer.\n\nREQUIREMENTS\n============\n\nPlatform with a package named 'tmux'.\n\nLICENSE AND AUTHOR\n==================\n\nAuthor:: Joshua Timberman ()\n\nCopyright:: Opscode, Inc. ()\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n", + "maintainer": "Opscode, Inc.", + "maintainer_email": "cookbooks@opscode.com", + "license": "Apache 2.0", + "platforms": { + }, + "dependencies": { + }, + "recommendations": { + }, + "suggestions": { + }, + "conflicting": { + }, + "providing": { + }, + "replacing": { + }, + "attributes": { + }, + "groupings": { + }, + "recipes": { + }, + "version": "1.0.0" +} \ No newline at end of file diff --git a/tmux/metadata.rb b/tmux/metadata.rb new file mode 100644 index 000000000..b05c69012 --- /dev/null +++ b/tmux/metadata.rb @@ -0,0 +1,6 @@ +maintainer "Opscode, Inc." +maintainer_email "cookbooks@opscode.com" +license "Apache 2.0" +description "Installs tmux" +long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) +version "1.0.0" diff --git a/tmux/recipes/default.rb b/tmux/recipes/default.rb new file mode 100644 index 000000000..735224aa4 --- /dev/null +++ b/tmux/recipes/default.rb @@ -0,0 +1,21 @@ +# +# Cookbook Name:: tmux +# Recipe:: default +# +# Copyright 2010, Opscode, Inc. +# +# 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 +# + +package "tmux" do + action :install +end