cookbook 'tar', '= 0.0.1', :supermarket
The tar cookbook has been deprecated
The tar cookbook has been deprecated and is no longer being maintained by its authors. Use of the tar cookbook is no longer recommended.
Installs tar and two resources to manage remote tar packages
cookbook 'tar', '= 0.0.1'
knife supermarket install tar
knife supermarket download tar
Installs tar and a resource for source package compilation.
LICENSE AND AUTHOR
Author:: Nathan L Smith (firstname.lastname@example.org)
Copyright 2011, Cramer Development, 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
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.
tar_package LWRP provides an easy way to download remote files and compile and install them.
This only works for the most basic Autoconf programs that can do
./configure && make && make install.
- :install: Installs the package
- source: name attribute. The source remote URL.
- prefix: Directory to be used as the
- source_directory: Directory to which source files are download.
- creates: A file this command creates - if the file exists, the command will not be run.
- configure_flags: Array of additional flags to be passed to
tar_package 'http://pgfoundry.org/frs/download.php/1446/pgpool-3.4.1.tar.gz' do prefix '/usr/local' creates '/usr/local/bin/pgpool' end
This will download, compile, and install the package from the given URL and install it into /usr/local.
This cookbook has no specified dependencies.