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
# class 10 ssd | |
Running hdparm test... | |
/dev/mmcblk0: | |
Timing buffered disk reads: 58 MB in 3.02 seconds = 19.21 MB/sec | |
Running dd test... | |
51200+0 records in |
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
('zaqar-ui-config', | |
'%s://%s:%d', | |
{'host': public_host, 'port': 8888, 'ssl_port': 443, 'public_proto': 'wss'}, | |
{'host': internal_host, 'port': 8888}), |
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
config.hostmanager.enabled = true | |
config.hostmanager.manage_host = true | |
config.hostmanager.ignore_private_ip = false | |
config.vm.define "node-database" do |database| | |
database.vm.provider "docker" do |d| | |
d.build_dir = "provisions/node-database/" | |
d.ports = ["13306:3306"] | |
d.name = "node-database" | |
d.vagrant_vagrantfile = "./provisions/host/Vagrantfile" |
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
% sudo docker exec -ti bind container --metadata|json_reformat | |
{ | |
"build_time": "2015-11-17 05:01:02", | |
"start_method": "/srv/named/bin/start.sh", | |
"build_time_stamp": 1447736462, | |
"ci": true, | |
"build_tag": "jenkins-docker bind-326", | |
"validate_method": "/srv/named/bin/validate.sh", | |
"image_tag_names": [ | |
"registry/namespace/bind:latest", |
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
% sudo docker exec -ti exim container --inspect | |
Container first started at 2015-11-10 05:18:52 +0000 (1447132732) in environment production | |
Container management methods: | |
Container supports START method using command /srv/support/bin/start.sh | |
Container does not support the UPDATE method | |
Container supports VALIDATE method using command /srv/support/bin/validate.sh | |
Metadata for image centos_base |
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
KEY1=val1 | |
KEY2=val2 | |
KEY3=val3 |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
ENV['VAGRANT_DEFAULT_PROVIDER'] = "docker" | |
ENV['SSH_KEY_NAME'] = 'docker' | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.require_version ">= 1.6.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@controller01.ost.home.lab.dtrainor.local ]# nova endpoints | |
WARNING: neutron has no endpoint in ! Available endpoints for this service: | |
+-----------+------------------------------------------------------+ | |
| neutron | Value | | |
+-----------+------------------------------------------------------+ | |
| id | 0b086de92c694ddcb25ac40712b55afe | | |
| interface | internal | | |
| region | RegionOne | | |
| region_id | RegionOne | | |
| url | http://controller01.ost.home.lab.dtrainor.local:9696 | |
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
Put in a file named site-finder.sh: | |
#!/bin/sh | |
DOMAIN=$1 | |
RESULT=`host -t a ${DOMAIN} | awk '{print $4}'` | |
OUTPUT=`grep ${RESULT} ./site-finder.ips` | |
if [ "$?" -ne 0 ]; then | |
echo "Domain not found" |
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
class integrate::services { | |
class { "httpd": } -> | |
class { "integrate::config": } -> | |
class { "integrate::service::users": } -> | |
class { "integrate::service::logging": } -> | |
class { "integrate::service::messaging": } -> | |
class { "integrate::service::fields": } -> | |
class { "integrate::service::strikeiron": } -> | |
class { "integrate::service::registration": } -> |