Sha256: 87e06399be943dfcbeb7f0de65fbab8dbf89bbf7b5725b510c3ca737f212e51a
Contents?: true
Size: 339 Bytes
Versions: 9
Compression:
Stored size: 339 Bytes
Contents
namespace :setup do task :cache do on roles(:cache) do unless test "[ -f /etc/redis/redis.conf ]" install "redis-server" upload_as :root, file("redis/redis.conf"), "/etc/redis/redis.conf" sudo 'nohup /etc/init.d/redis-server restart' end end end end after "setup:system", "setup:cache"
Version data entries
9 entries across 9 versions & 1 rubygems