cookbook 'stow', '= 0.1.1'
stow (13) Versions 0.1.1 Follow0
Installs GNU Stow & provides stow_package resource
cookbook 'stow', '= 0.1.1', :supermarket
knife supermarket install stow
knife supermarket download stow
stow (Chef cookbook)
Description
A simple chef cookbook to install GNU stow
via package management or source if a package is not available.
Attributes
-
['stow']['path'] = '/usr/local/stow'
path stow command uses for symlinking packages and libraries -
['stow']['target'] = '/usr/local'
target directory for stow managed symlinks, defaults to stow path's parent directory -
['stow']['version'] = '2.2.0'
current version of stow for source installations -
['stow']['prev_version'] = nil
previous version of stow (to destow) when upgrading to a new version -
['stow']['src_url'] = 'http://ftp.gnu.org/gnu/stow/stow-2.2.0.tar.gz'
URL for latest stow source tarball -
['stow']['rpm_url'] = 'http://dl.fedoraproject.org/pub/epel/6/i386/stow-2.2.0-1.el6.noarch.rpm'
URL for latest RPM package -
['stow']['deb_url'] = 'http://mirrors.kernel.org/ubuntu/pool/universe/s/stow/stow_2.2.0-2_all.deb'
URL for latest debian package
Usage
Add the recipes to the run_list
, it should probably be towards the beginning:
"recipe[stow]"
Configure attributes:
"stow" : {
"path" : "/opt/local/stow",
"version" : "2.2.0",
"prev_version" : "2.1.3"
}
Dependent cookbooks
build-essential ~> 2.2 |
tar ~> 0.6.0 |
yum-epel ~> 0.6.2 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Foodcritic Metric
0.1.1 failed this metric
FC031: Cookbook without metadata file: /tmp/cook/9cee68560c49c5af9eefd685/stow/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/9cee68560c49c5af9eefd685/stow/metadata.rb:1
0.1.1 failed this metric
FC045: Consider setting cookbook name in metadata: /tmp/cook/9cee68560c49c5af9eefd685/stow/metadata.rb:1