Created
August 18, 2014 06:11
-
-
Save poysama/f8ffaecf10b240f4c92a to your computer and use it in GitHub Desktop.
cable sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cablefile | |
# REST source | |
source "http://10.48.30.75:5984/chronic/account" | |
# adjust template path | |
# default is config/templates | |
template_path 'config/templates' | |
# simple template | |
# arg1 source, arg2 destination | |
template 'database.yml' | |
template 'database_template', 'database.yml' | |
# simple dir | |
# can be a single dir, string or multi, array | |
# relative or absolute | |
directory 'tmp/socks' | |
directory ['log', 'tmp/pids'] | |
# simple link | |
# arg1 source, arg2 dest | |
link 'libwww', '/opt/libwww' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment