Sha256: 5093e2d665e9b686399e784f48ab79c83c1e0b183d60303c13440ec76bfaf859
Contents?: true
Size: 878 Bytes
Versions: 5
Compression:
Stored size: 878 Bytes
Contents
namespace :rubber do namespace :redis do rubber.allow_optional_tasks(self) after "rubber:install_packages", "rubber:redis:custom_install" task :custom_install, :roles => :redis do custom_package('http://ftp.us.debian.org/debian/pool/main/r/redis/', 'redis-server', '1.2.0-1', '! -x /usr/bin/redis-server') end desc "Stops the redis server" task :stop, :roles => :redis, :on_error => :continue do run "/etc/init.d/redis-server stop" end desc "Starts the redis server" task :start, :roles => :redis do run "/etc/init.d/redis-server start" end desc "Restarts the redis server" task :restart, :roles => :redis do run "/etc/init.d/redis-server restart" end desc "Reloads the redis server" task :reload, :roles => :redis do run "/etc/init.d/redis-server restart" end end end
Version data entries
5 entries across 5 versions & 2 rubygems