@task
def configure_redis():
    sudo('mkdir -p /etc/redis')
    put('configs/redis.upstart', '/etc/init/redis.conf',
        use_sudo=True)
    put('configs/redis.conf', '/etc/redis/redis.conf',
        use_sudo=True)
    put('configs/redis-local.conf', '/etc/redis/redis-local.conf',
        use_sudo=True)
Copy redis configuration and scripts
dataset/ETHPy150Open PaulMcMillan/toorcon_2013/configurator/fabfile/master.py/configure_redis