Skip to content

Instantly share code, notes, and snippets.

View kushmerick's full-sized avatar

Nicholas Kushmerick kushmerick

View GitHub Profile
"vm_name"="dsb-dcoins-zz-manager-cba24db0-0932" and "vm_mor"="vm-12482" and "host_name"="172.25.10.3" and "host_mor"="host-2130" and "cluster_name"="wld-nest-mpred-1" and "cluster_mor"="domain-c2411
"vm_name"="hcifio-172.21.10.5-vsan-nds-stretched-2" and "vm_mor"="vm-2522" and "host_name"="172.21.10.8" and "host_mor"="host-2208" and "cluster_name"="vsan-stretched" and "cluster_mor"="domain-c2219
"vm_name"="hcifio-172.21.10.4-vsan-nds-stretched-2" and "vm_mor"="vm-2524" and "host_name"="172.21.10.4" and "host_mor"="host-2196" and "cluster_name"="vsan-stretched" and "cluster_mor"="domain-c2219
"vm_name"="dsb-logins-zz-workers-7dc41e88-0911" and "vm_mor"="vm-12447" and "host_name"="172.25.10.2" and "host_mor"="host-2127" and "cluster_name"="wld-nest-mpred-1" and "cluster_mor"="domain-c2411
"vm_name"="dsb-clinic-zz-manager-c2c23f4b-0689" and "vm_mor"="vm-12587" and "host_name"="172.25.10.2" and "host_mor"="host-2127" and "cluster_name"="wld-nest-mpred-1" and "cluster_mor"="domain-c2411
"vm_name"="1111" and "vm_mo
diff --git a/jobs/mysql_gateway/templates/mysql_gateway.yml.erb b/jobs/mysql_gateway/templates/mysql_gateway.yml.erb
index 82c41f3..8aa1059 100644
--- a/jobs/mysql_gateway/templates/mysql_gateway.yml.erb
+++ b/jobs/mysql_gateway/templates/mysql_gateway.yml.erb
@@ -19,6 +19,7 @@ nats_props = properties.send(nats_props_name)
nats = "nats://#{nats_props.user}:#{nats_props.password}@#{nats_props.address}:#{nats_props.port}"
lifecycle = properties.service_lifecycle
cc_api_version = gateway.cc_api_version || "v1"
+unique_id = 'foobar_mysql_uniq'
%>
@kushmerick
kushmerick / gist:5294579
Last active December 15, 2015 17:09
tempest-small.erb
---
# Registering service tokens ('bosh diff' again if this generated documentation is incomplete):
# $ gem install admin-cf-plugin
<%- GW = "_gateway" -%>
<%- exceptions = {"rabbit" => "rabbitmq"} -%>
<%- find("properties").each do |k,v| -%>
<%- if k =~ /#{GW}$/ -%>
<%- token = v["token"] -%>
<%- next unless token -%>