Skip to content

Instantly share code, notes, and snippets.

View ronakbanka's full-sized avatar
🏠
Working from home

Ronak Banka ronakbanka

🏠
Working from home
View GitHub Profile
#!/bin/bash
#
# pgpool-II replication manager
#
# Interfaces with pgpool's pcp command-line tools to provide access to common functions for managing
# load-balancing and failover.
#
# dsimmons@squiz.co.uk
# 2011-08-28
<% deployment_name = 'docker' %>
<% os = 'ubuntu' %>
<% tld = 'microbosh' %>
<% director_uuid = 'GET_FROM_BOSH_STATUS' %>
---
name: <%= deployment_name %>
director_uuid: <%= director_uuid %>
releases:
- name: docker
<%
director_uuid = 'CHANGEME'
static_ip = 'CHANGEME'
root_domain = "#{static_ip}.xip.io"
deployment_name = 'cf'
cf_release = '170'
protocol = 'http'
common_password = 'c1oudc0wc1oudc0w'
%>
---
---
<%
director_uuid = "YOUR BOSH DIRECTORY ID"
protocol = "http"
cf_release = "155"
cf_services_release = "0.3-dev"
ip_address = "172.21.42.135"
cc_api_url = "http://api.YOURDOMAIN.com"
common_password = "c1oudc0w"
root_domain = "YOURDOMAIN.com"
---
<%
director_uuid = "81fa055f-8a94-4d34-9e67-59edbc25874b"
protocol = "http"
cf_release = "153"
ip_address = "10.112.219.59"
common_password = "c1oudc0w"
#root_domain = "10.112.218.60.xip.io"
root_domain = "10.112.219.59.xip.io"
deployment_name = "cf-demo"
#!/bin/bash
apt-get install -y build-essential
apt-get install -y clang
apt-get install -y libblocksruntime-dev
apt-get install -y libkqueue-dev
apt-get install -y libpthread-workqueue-dev
apt-get install -y gobjc
apt-get install -y libxml2-dev
apt-get install -y libjpeg-dev
apt-get install -y libtiff-dev