Skip to content

Instantly share code, notes, and snippets.

@achin
Created October 25, 2013 17:04
Show Gist options
  • Save achin/7158112 to your computer and use it in GitHub Desktop.
Save achin/7158112 to your computer and use it in GitHub Desktop.
source 'http://rubygems.org'
gem 'bosh_cli'
gem 'bosh_deployer'
GEM
remote: http://rubygems.org/
specs:
agent_client (0.1.1)
httpclient
yajl-ruby
aws-s3 (0.6.3)
builder
mime-types
xml-simple
aws-sdk (1.6.9)
httparty (~> 0.7)
json (~> 1.4)
nokogiri (>= 1.4.4)
uuidtools (~> 2.1)
blobstore_client (0.4.0)
aws-s3 (~> 0.6.2)
bosh_common (~> 0.5)
httpclient (>= 2.2)
multi_json (~> 1.1.0)
ruby-atmos-pure (~> 1.0.5)
uuidtools (~> 2.1.2)
bosh_aws_cpi (0.7.0)
aws-sdk (>= 1.3.5)
bosh_common (>= 0.5.0)
bosh_cpi (>= 0.5.1)
httpclient (>= 2.2.0)
uuidtools (>= 2.1.2)
yajl-ruby (>= 0.8.2)
bosh_aws_registry (0.2.3)
aws-sdk (~> 1.6.9)
sequel
sinatra
thin
yajl-ruby
bosh_cli (1.0.3)
blobstore_client (~> 0.4.0)
bosh_common (>= 0.5.1)
highline (~> 1.6.2)
httpclient (>= 2.2.4, <= 2.2.4)
json_pure (~> 1.6.1)
net-scp (~> 1.0.4)
net-ssh (~> 2.2.1)
net-ssh-gateway (~> 1.1.0)
netaddr (~> 1.5.0)
progressbar (~> 0.9.0)
terminal-table (~> 1.4.2)
bosh_common (0.5.4)
bosh_cpi (0.5.1)
bosh_common (~> 0.5)
bosh_deployer (1.4.1)
agent_client (~> 0.1.1)
bosh_aws_cpi (>= 0.7.0)
bosh_aws_registry (~> 0.2.2)
bosh_cli (>= 1.0.2)
bosh_cpi (>= 0.5.1)
bosh_openstack_cpi (~> 0.0.6)
bosh_openstack_registry (~> 0.0.5)
bosh_vcloud_cpi (~> 0.4.9)
bosh_vsphere_cpi (>= 0.6.0)
httparty (~> 0.10.2)
sqlite3 (~> 1.3.3)
bosh_openstack_cpi (0.0.7)
bosh_common (>= 0.5.1)
bosh_cpi (>= 0.5.1)
fog (>= 1.9.0)
httpclient (>= 2.2.0)
uuidtools (>= 2.1.2)
yajl-ruby (>= 0.8.2)
bosh_openstack_registry (0.0.5)
fog (>= 1.6.0)
sequel
sinatra
thin
yajl-ruby
bosh_vcloud_cpi (0.4.9)
bosh_common
bosh_cpi (>= 0.4.2)
ruby_vcloud_sdk
uuidtools
yajl-ruby (>= 0.8.2)
bosh_vsphere_cpi (0.6.0)
bosh_common
bosh_cpi (>= 0.5.0)
membrane
ruby_vim_sdk (>= 0.0.3)
sequel
uuidtools
builder (3.2.2)
daemons (1.1.9)
eventmachine (1.0.3)
excon (0.27.6)
fog (1.9.0)
builder
excon (~> 0.14)
formatador (~> 0.2.0)
mime-types
multi_json (~> 1.0)
net-scp (~> 1.0.4)
net-ssh (>= 2.1.3)
nokogiri (~> 1.5.0)
ruby-hmac
formatador (0.2.4)
highline (1.6.20)
httparty (0.10.2)
multi_json (~> 1.0)
multi_xml (>= 0.5.2)
httpclient (2.2.4)
json (1.8.1)
json_pure (1.6.8)
log4r (1.1.10)
membrane (0.0.2)
mime-types (1.25)
multi_json (1.1.0)
multi_xml (0.5.5)
net-scp (1.0.4)
net-ssh (>= 1.99.1)
net-ssh (2.2.2)
net-ssh-gateway (1.1.0)
net-ssh (>= 1.99.1)
netaddr (1.5.0)
nokogiri (1.5.10)
progressbar (0.9.2)
rack (1.5.2)
rack-protection (1.5.1)
rack
rest-client (1.6.7)
mime-types (>= 1.16)
ruby-atmos-pure (1.0.5)
log4r (>= 1.1.9)
ruby-hmac (>= 0.4.0)
ruby-hmac (0.4.0)
ruby_vcloud_sdk (0.4.8)
builder
httpclient
nokogiri (~> 1.5)
rest-client
ruby_vim_sdk (0.0.3)
builder
httpclient
nokogiri
sequel (4.3.0)
sinatra (1.4.4)
rack (~> 1.4)
rack-protection (~> 1.4)
tilt (~> 1.3, >= 1.3.4)
sqlite3 (1.3.8)
terminal-table (1.4.5)
thin (1.6.0)
daemons (>= 1.0.9)
eventmachine (>= 1.0.0)
rack (>= 1.5.0)
tilt (1.4.1)
uuidtools (2.1.4)
xml-simple (1.1.2)
yajl-ruby (1.1.0)
PLATFORMS
ruby
DEPENDENCIES
bosh_cli
bosh_deployer
---
name: micro01 #the same name as your folder name
network:
ip: a.b.c.d #define ip for micro BOSH
netmask: 255.255.255.0
gateway: a.b.c.e
dns:
- a.b.c.f
cloud_properties:
name: 195 - vSphere Management #this should be the same as the “Network” of all your virtual machines
resources:
persistent_disk: 16384
cloud_properties:
ram: 4096
disk: 16384
cpu: 2
cloud:
plugin: vsphere
properties:
agent:
ntp:
- time.windows.com
- ntp02.las01.emcatmos.com
vcenters:
- host: a.b.c.g # ip address of vCenter
user: user #user of vCenter
password: password
datacenters:
- name: datacenter #name of the datacenter you created
vm_folder: bosh_vms #folder for vms
template_folder: cf_stemcells #folder for templates
disk_path: boshdeployer #disk path where VMs are stored.
datastore_pattern: datastore #name of a datastore or some regular expression matching the datastore name.
persistent_datastore_pattern: datastore #name of a datastore or some regular expression matching the persistent datastore
allow_mixed_datastores: true #true if two datastore patterns are the same
clusters:
- cluster #name of your cluster in your datacenter
apply_spec:
agent:
blobstore:
address: a.b.c.d #change to micro bosh ip defined above
nats:
address: a.b.c.d #change to micro bosh ip defined above
properties: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment