Sha256: b4f8fd9fcaad65d93c20562a651b338666a52c8349c5664add86bf103d2ab2b6
Contents?: true
Size: 790 Bytes
Versions: 17
Compression:
Stored size: 790 Bytes
Contents
namespace :deploy do namespace :check do # Check the nodejs runtime task :nodejs do on roles(:all) do |host| # centos responds to node if test("[ $(which nodejs || which node ) ]") info "Javascript runtime nodejs is available on #{host}" else error "Javascript runtime nodejs is not available on #{host}" end end end after 'deploy:check', 'deploy:check:nodejs' task :imagemagick do on roles(:all) do |host| if test("[ $(which identify) ]") info "Javascript runtime nodejs is available on #{host}" else error "Javascript runtime nodejs is not available on #{host}" end end end after 'deploy:check', 'deploy:check:imagemagick' end end
Version data entries
17 entries across 17 versions & 1 rubygems