Skip to content

Instantly share code, notes, and snippets.

@poysama
Created August 18, 2014 06:11
Show Gist options
  • Save poysama/f8ffaecf10b240f4c92a to your computer and use it in GitHub Desktop.
Save poysama/f8ffaecf10b240f4c92a to your computer and use it in GitHub Desktop.
cable sample
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