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
define :docker_ecr_login, | |
region: 'us-east-1', | |
registry_url: nil do | |
include_recipe 'poise-python::default' | |
python_package 'awscli' do | |
version node['systems']['awscli']['version'] | |
action :upgrade | |
end |
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
# iops | |
resource "aws_db_instance" "rds" { | |
identifier = "${var.identifier}" | |
allocated_storage = "${var.allocated_storage}" | |
iops = "${var.iops}" | |
engine = "${var.engine}" | |
engine_version = "${var.engine_version}" | |
instance_class = "${var.instance_class}" | |
name = "${var.db_name}" | |
username = "${var.db_username}" |
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
bash-3.2$ dogestry push s3://repo/docker/?region=us-east-1 postgresql-test | |
WorkDir: /var/folders/11/d6g_dbdx7xb2yq7z1bjq2yfm45msx9/T/dogestry809924653/postgresql-test | |
Using docker endpoint for push: tcp://192.168.59.103:2376 | |
Remote: s3(bucket=repo, region=us-east-1) | |
Checking layers on remote | |
not found: 55ff108e6449c4f5575ed6a069deb969b0875fbe67e5fdfc98f8620b9045eb3a | |
exists : 8529485f8a5abe10182191641d7576c34ed7730b042efd8f1f2c0758d7393af1 | |
exists : fc5667c819da1e41ae0da9d0f83409fc70d3d562d1e5754a4af530e8cd95871a | |
exists : 64c8dd1824dbd0f2bd07d02cfb6843bd6e3707b25d11dc7f1efe3a7b4030988e | |
exists : 451e8d13e28361b029d7b308e560c51f5e88a72ab119c7b2e1ab610bb1ca0856 |
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
➜ inf-security-groups git:(master) ✗ export TF_LOG=1 | |
➜ inf-security-groups git:(master) ✗ terraform apply terraform.plan | |
2015/04/07 18:04:42 [INFO] Terraform version: 0.4.1 dev 23c0fb76954de81bbd855947526d5d7440ab1043 | |
2015/04/07 18:04:42 Detected home directory from env var: /Users/chris.ferry | |
2015/04/07 18:04:42 [DEBUG] Discovered plugin: atlas = /Users/chris.ferry/bin/terraform-provider-atlas | |
2015/04/07 18:04:42 [DEBUG] Discovered plugin: aws = /Users/chris.ferry/bin/terraform-provider-aws | |
2015/04/07 18:04:42 [DEBUG] Discovered plugin: cloudflare = /Users/chris.ferry/bin/terraform-provider-cloudflare | |
2015/04/07 18:04:42 [DEBUG] Discovered plugin: cloudstack = /Users/chris.ferry/bin/terraform-provider-cloudstack | |
2015/04/07 18:04:42 [DEBUG] Discovered plugin: consul = /Users/chris.ferry/bin/terraform-provider-consul | |
2015/04/07 18:04:42 [DEBUG] Discovered plugin: digitalocean = /Users/chris.ferry/bin/terraform-provider-digitalocean |
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
➜ terraform git:(master) ✗ terraform remote config -backend=consul -backend-config="address=consul.domain.com" -backend-config="path=use1" -backend-config="scheme=https" | |
Remote state management enabled | |
Error while performing the initial pull. The error message is shown | |
below. Note that remote state was properly configured, so you don't | |
need to reconfigure. You can now use `push` and `pull` directly. | |
Error initilizing remote state: <nil> | |
➜ terraform git:(master) ✗ pwd | |
/Users/chris.ferry/git/systems/terraform | |
➜ terraform git:(master) ✗ terraform remote config -backend=consul -backend-config="address=consul.domain.com" -backend-config="path=use1" |
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
➜ terraform git:(master) ✗ terraform remote config -backend=consul -backend-config="address=https://consul.domain.com" -backend-config="path=use1" | |
Remote state management enabled | |
Error while performing the initial pull. The error message is shown | |
below. Note that remote state was properly configured, so you don't | |
need to reconfigure. You can now use `push` and `pull` directly. | |
Error reloading remote state: Get http://https://consul.domain.com/v1/kv/use1: dial tcp: unknown port tcp///consul.domain.com | |
➜ terraform git:(master) ✗ terraform remote config -backend=consul -backend-config="address=consul.domain.com" -backend-config="path=use1" | |
Remote configuration updated | |
Remote state configured and pulled. |
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
module "inf-consul" { | |
source = "../../terraform-modules/asg_elb" | |
asg_name = "inf_consul_asg" | |
lc_name = "inf_consul_lc" | |
ami_id = "${var.ubuntu_amis.us-east-1-hvm}" | |
instance_type = "t2.medium" | |
iam_instance_profile = "bootstrap" | |
key_name = "inf" | |
security_group = "${aws_security_group.use1-inf.id}" | |
load_balancers = "inf-consul-elb" |
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
[email protected]']:/var/log/shinken# cat arbiterd.log | |
[1422471400] INFO: [Shinken] Shinken 2.2 | |
[1422471400] INFO: [Shinken] Copyright (c) 2009-2014: | |
[1422471400] INFO: [Shinken] Gabes Jean ([email protected]) | |
[1422471400] INFO: [Shinken] Gerhard Lausser, [email protected] | |
[1422471400] INFO: [Shinken] Gregory Starck, [email protected] | |
[1422471400] INFO: [Shinken] Hartmut Goebel, [email protected] | |
[1422471400] INFO: [Shinken] License: AGPL | |
[1422471400] INFO: [Shinken] Loading configuration | |
[1422471400] INFO: [Shinken] [config] opening '/etc/shinken/shinken.cfg' configuration file |