Skip to content

Instantly share code, notes, and snippets.

@jayd3e
Created August 2, 2012 07:04
Show Gist options
  • Select an option

  • Save jayd3e/3234664 to your computer and use it in GitHub Desktop.

Select an option

Save jayd3e/3234664 to your computer and use it in GitHub Desktop.
Upload file with fabric
filename = '/etc/nginx/sites-enabled/clusterflunk'
if not exists(filename):
put('clusterstack/templates/clusterflunk', filename, use_sudo=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment