This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ fog | |
Welcome to fog interactive! | |
:default provides AWS, HP, OpenStack, Rackspace, VirtualBox and Vmfusion | |
>> quantum = Fog::Network.new(:provider => "OpenStack") | |
>> | |
?> # Create a new network: | |
?> quantum.networks.create(:name => "network_1") | |
<Fog::Network::OpenStack::Network | |
id="09b42312-bba6-4d52-a558-023e1de0d872", | |
name="network_1", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@a28e4835-146b-4da6-b736-1021126986a0:~# uname -a | |
Linux a28e4835-146b-4da6-b736-1021126986a0 3.8.0-35-generic #50-Ubuntu SMP Tue Dec 3 01:24:59 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux | |
root@a28e4835-146b-4da6-b736-1021126986a0:~# python -V | |
Python 2.7.4 | |
root@a28e4835-146b-4da6-b736-1021126986a0:~# python | |
Python 2.7.4 (default, Sep 26 2013, 03:20:26) | |
[GCC 4.7.3] on linux2 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import os | |
>>> import pwd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% | |
director_uuid = 'CHANGEME' | |
static_ip = 'CHANGEME' | |
root_domain = "#{static_ip}.xip.io" | |
deployment_name = 'cf' | |
cf_release = '170' | |
protocol = 'http' | |
common_password = 'c1oudc0wc1oudc0w' | |
%> | |
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% | |
director_uuid = 'CHANGEME' | |
static_ip = 'CHANGEME' | |
root_domain = "#{static_ip}.xip.io" | |
deployment_name = 'cf' | |
cf_release = '170' | |
protocol = 'http' | |
common_password = 'c1oudc0wc1oudc0w' | |
%> | |
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% | |
director_uuid = 'CHANGEME' | |
static_ip = 'CHANGEME' | |
root_domain = "#{static_ip}.xip.io" | |
deployment_name = 'cf' | |
cf_release = '170' | |
protocol = 'http' | |
common_password = 'c1oudc0wc1oudc0w' | |
%> | |
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% | |
director_uuid = 'cf0a7e71-efa8-4895-9607-40acc6f51aeb' | |
deployment_name = 'cf-push-console-errand' | |
protocol = 'http' | |
common_password = 'c1oudc0wc1oudc0w' | |
root_domain = '10.145.98.63.xip.io' | |
cf_deployment_name = 'cf' | |
%> | |
--- | |
name: <%= deployment_name %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
properties: | |
ha_proxy: | |
ssl_pem: | | |
-----BEGIN CERTIFICATE----- | |
MIIDlDC********************************************LMAkGA1UEBhMC | |
VVMxCzAJBgNVBAgTAkNPMRQwEgYDVQQHEwtXaW50ZXIgUGFyazEQMA4GA1UEChMH | |
UGl2b3RhbDEeMBwGA1UEAxQVKi41NC44NC4yNTMuODcueGlwLmlvMScwJQYJKoZI | |
hvcNAQkBFhhzZ3JlZW5iZXJnQGdvcGl2b3RhbC5jb20wHhcNMTQwNTE5MjIxNDEx | |
WhcNMTUwNTE5MjIxNDExWjCBizELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNPMRQw | |
EgYDVQQHEwtXaW50ZXIgUGFyazEQMA4GA1UEChMHUGl2b3RhbDEeMBwGA1UEAxQV |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% | |
director_uuid = 'CHANGE-ME' | |
static_ip = 'CHANGE-ME' | |
root_domain = "#{static_ip}.xip.io" | |
deployment_name = 'cf' | |
cf_release = '175' | |
protocol = 'http' | |
common_password = 'c1oudc0wc1oudc0w' | |
%> | |
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input { | |
tcp { | |
port => 514 | |
type => syslog | |
} | |
} | |
filter { | |
if [type] == "syslog" { | |
grok { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% | |
director_uuid = 'CHANGE-ME' | |
floating_ip = 'CHANGE-ME' | |
root_domain = "#{floating_ip}.xip.io" | |
net_id = 'CHANGE-ME' | |
deployment_name = 'cf' | |
cf_release = '183' | |
protocol = 'http' | |
common_password = 'c1oudc0wc1oudc0w' | |
%> |
OlderNewer