Sha256: 43e8a091caa0d77e5019ce4d57942e98b7b087c09bbdb9663e46b7680279e388
Contents?: true
Size: 1.52 KB
Versions: 1
Compression:
Stored size: 1.52 KB
Contents
# Copyright 2006-2008 by Mike Bailey. All rights reserved. Capistrano::Configuration.instance(:must_exist).load do namespace :deprec do namespace :utils do SRC_PACKAGES[:daemonize] = { :md5sum => "62aef13cf2dbc305b8c2c033a26cc18d bmc-daemonize-release-1.6-0-gf9d8e03.tar.gz", :dir => 'bmc-daemonize-f9d8e03', :url => "http://github.com/bmc/daemonize/tarball/release-1.6", :configure => %w( ./configure ; ).reject{|arg| arg.match '#'}.join(' '), :make => 'make;', :install => 'make install;' } namespace :daemonize do desc "Install daemonize" task :install do deprec2.download_src(SRC_PACKAGES[:daemonize], src_dir) deprec2.install_from_src(SRC_PACKAGES[:daemonize], src_dir) end end desc "Install some useful network utils" task :net do apps = %w(lynx nmap netcat telnet dnsutils rsync curl wget) apt.install( {:base => apps}, :stable ) end desc "Install some useful mail utils" task :mail do apps = %w(mailx mutt) apt.install( {:base => apps}, :stable ) end desc "Install some useful utils" task :other do apps = %w(lsof vim tree psmisc screen) apt.install( {:base => apps}, :stable ) end desc "Install handy utils" task :handy do net mail other end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
deprec-2.1.14 | lib/deprec/recipes/utils.rb |