sudo apt-get update
sudo apt-get install -y libssl1.0.0 openssl
openssl version -a
and confirm the "built on" date is >= 2014-04-07sudo lsof -n | grep ssl | grep DEL
and restart all listed services.
Repeat #4 until no results are returned.
# | |
# Copyright 2015, Noah Kantrowitz | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
require 'chef/knife' | |
module Poise | |
class Travis < Chef::Knife | |
include Chef::Mixin::ShellOut | |
deps do | |
require 'yaml' | |
require 'kitchen' | |
end |
#!/usr/bin/env ruby | |
require 'yaml' | |
# Make sure we never commit this stuff accidentally | |
IO.write('.gitignore', ".docker.*\n", mode: 'a') unless IO.read('.gitignore').include?('.docker.*') | |
# Generate a new client key | |
unless File.exists?('.docker.crt') | |
CA_BASE = File.expand_path('~/src/docker-ca') |
#!/usr/bin/env ruby | |
require 'json' | |
require 'openssl' | |
require 'tempfile' | |
require 'fog' | |
BUCKET = 'something' | |
ROOT = File.expand_path('..', __FILE__) | |
UNIVERSE = {} |
#!/usr/bin/python | |
# | |
# Author:: Noah Kantrowitz <noah@coderanger.net> | |
# | |
# Copyright 2013-2014, Balanced, Inc. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# |
#!/usr/bin/env python | |
import os | |
import subprocess | |
import json | |
from boto.ec2 import connect_to_region | |
REGIONS = ['us-east-1', 'us-west-1', 'us-west-2'] |
To use this snippet first replace the _default
in the URL with your environment name if you are using somethign other than the global default. Next in the run list, replace ...
with your cookbook names. Unlike other run lists, you cannot have roles here, and you don't use the 'recipe[foo]'
syntax, just 'foo'
.
use strict; | |
my $reconnect_timer; | |
sub try_reconnect { | |
my $ui = ui_name("main"); | |
my $server = active_server(); | |
if(!$server) { | |
$ui->print("(trying to reconnect)\n"); | |
TLily::Event::send( |
{ | |
"variables": { | |
"aws_access_key_id": "{{env `AWS_ACCESS_KEY_ID`}}", | |
"aws_secret_access_key": "{{env `AWS_SECRET_ACCESS_KEY`}}", | |
"aws_account_id": "4819-1673-9571", | |
"s3_bucket": "balanced-amis", | |
"x509_cert_path": "{{pwd}}/balanced-aws.crt", | |
"x509_key_path": "{{pwd}}/balanced-aws.key" | |
}, | |
"builders": [ |