No commit activity in last 3 years
No release in over 3 years
See http://jeroenr.github.com/debloy/
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
 Dependencies
 Project Readme

endorse

debloy

debloy is a capistrano plugin to facilitate the deployment of debian packages (inspired by supply_drop). It works by simply copying (using rsync, or scp) your debian packages to your servers and installing them through the package manager

Installation

gem install debloy

or with Bundler

gem 'debloy'

Tasks

cap debloy:bootstrap

This sets up the environment for dpkg or apt deployment, depending on your configuration.

cap debloy

This deploys the debian packages on the target servers.

cap debloy:teardown

Cleans up the environment.

Configuration

At the top of your deploy.rb

require 'rubygems'
require 'debloy'

then optionally set some variables

set :debian_source, '.'

the directory containing your debian packages that will be rsynced to the servers.

set :debian_target, '/tmp'

the temp directory on the target machine to hold the packages before installing.

set :debian_package_manager, 'dpkg'

the debian package manager to use (one of [dpkg, apt]).

set :debian_stream_log, false

determines whether to stream the command output.

set :debian_filter, '*'

a glob syntax filter to determine which packages to deploy. By default all will be deployed.