$ for i in 1 2 3; do
docker run -d \
--env constraint:node==bf76bea4-47ef-43ac-a7ae-67a6e6db15bd-n$i \
-p 127.0.0.1:5000:5000 \
--name registry-$i \
-e REGISTRY_STORAGE=swift \
-e REGISTRY_STORAGE_SWIFT_USERNAME=notreallyme \
-e REGISTRY_STORAGE_SWIFT_PASSWORD=reallyismypasswordtho \
-e REGISTRY_STORAGE_SWIFT_AUTHURL=https://identity.api.rackspacecloud.com/v2.0/ \
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@allinone:~# OS_USERNAME=admin OS_PASSWORD=secrete OS_TENANT_NAME=admin OS_AUTH_URL=http://33.33.33.60:35357/v2.0 keystone tenant-list | |
+----------------------------------+---------+---------+ | |
| id | name | enabled | | |
+----------------------------------+---------+---------+ | |
| 4c280f7ee4404e42bc8994ee37d06ee3 | admin | true | | |
| fd1f4ef9051849359347f1f6a78a4b58 | service | true | | |
+----------------------------------+---------+---------+ | |
root@allinone:~# quantum net-create --tenant-id 4c280f7ee4404e42bc8994ee37d06ee3 test_net | |
You must provide a username via either --os-username or env[OS_USERNAME] | |
root@allinone:~# OS_USERNAME=admin OS_PASSWORD=secrete OS_TENANT_NAME=admin OS_AUTH_URL=http://33.33.33.60:35357/v2.0 quantum net-create --tenant-id 4c280f7ee4404e42bc8994ee37d06ee3 test_net |
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
git clone git@github.com:paulczar/chef-cookbooks.git | |
cd chef-cookbooks | |
git checkout folsom | |
git pull git@github.com:rcbops/chef-cookbooks.git folsom | |
git checkout vagrant | |
git rebase folsom | |
git push | |
here it complained that I was behind ... so ran a pull then the push. |
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
$ git clone --recursive -b folsom git@github.com:paulczar/chef-cookbooks.git | |
$ cd chef-cookbooks | |
$ git pull git@github.com:rcbops/chef-cookbooks.git folsom | |
$ git checkout vagrant | |
$ git rebase folsom | |
First, rewinding head to replay your work on top of it... | |
Applying: adding keystone-setup role | |
Applying: keystone role now uses keystone-setup role | |
Applying: Unwinding merge 78a339509 | |
Applying: vagrantfile and provisioning scripts |
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" | |
tags => ["gisticles"] | |
} | |
} | |
filter { | |
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
if ARGV[0] == 'help' and ARGV[1] == 'vagrantfile' | |
puts <<eof | |
How to use this Vagrantfile: | |
env['BRANCH'] - set a different branch to clone | |
eof | |
ARGV.shift(2) | |
ARGV.unshift('status') |
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
# Chef-Zero | |
# | |
# VERSION 0.0.1 | |
FROM base | |
MAINTAINER Paul Czarkowski "username.taken@gmail.com" | |
RUN apt-get update | |
RUN apt-get install -y ruby1.9.1-dev build-essential |
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
variables: | |
env_vars: | |
HTTP_PROXY: http://proxy.local:8080 | |
HTTPS_PROXY: http://proxy.local:8080 | |
playbooks: | |
task: | |
- name: preflight checks |