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
FROM debian:jessie | |
RUN apt-get update \ | |
&& apt-get install -y bash curl patch bzip2 gawk libreadline6-dev zlib1g \ | |
zlib1g-dev libssl-dev libc6-dev libyaml-dev libsqlite3-dev sqlite3 autoconf \ | |
libgmp-dev libgdbm-dev libncurses5-dev automake make libtool bison \ | |
pkg-config libffi-dev openssl | |
RUN \curl -L https://get.rvm.io | bash -s stable --autolibs=read-fail |
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
Successfully installed bundler-1.14.3 | |
Parsing documentation for bundler-1.14.3 | |
Installing ri documentation for bundler-1.14.3 | |
Done installing documentation for bundler after 4 seconds | |
1 gem installed | |
Fetching gem metadata from https://rubygems.org/......... | |
Fetching version metadata from https://rubygems.org/.. | |
Fetching dependency metadata from https://rubygems.org/. | |
Fetching https://github.com/devopxteam/kitchen-salt.git | |
Fetching https://github.com/devopxteam/kitchen-sync.git |
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
INFO global: Vagrant version: 1.9.1 | |
INFO global: Ruby version: 2.2.5 | |
INFO global: RubyGems version: 2.4.5.1 | |
INFO global: VAGRANT_OLD_ENV_IRBRC="/Users/andres/.rvm/rubies/ruby-2.2.5/.irbrc" | |
INFO global: VAGRANT_OLD_ENV_MY_RUBY_HOME="/Users/andres/.rvm/rubies/ruby-2.2.5" | |
INFO global: VAGRANT_OLD_ENV_WORKON_HOME="/Users/andres/.virtualenvs" | |
INFO global: VAGRANT_OLD_ENV__system_arch="x86_64" | |
INFO global: VAGRANT_OLD_ENV_rvm_version="1.27.0 (latest)" | |
INFO global: VAGRANT_OLD_ENV_SSH_AUTH_SOCK="/private/tmp/com.apple.launchd.01bvwy7CqK/Listeners" | |
INFO global: VAGRANT_OLD_ENV_XPC_FLAGS="0x0" |
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
--- xs/APR/aprext/Makefile.PL.orig 2016-12-08 16:49:41.385132000 +0000 | |
+++ xs/APR/aprext/Makefile.PL 2016-12-08 16:49:54.270002000 +0000 | |
@@ -22,8 +22,6 @@ | |
push @obj, q{modperl_dummy.o}; | |
my @skip = qw(dynamic test); | |
-push @skip, q{static} | |
- unless (Apache2::Build::BUILD_APREXT); | |
my %args = (NAME => 'lib' . $build->{MP_APR_LIB}, |
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
--- Build.PL.orig 2016-11-23 15:18:04.000000000 -0300 | |
+++ Build.PL 2016-11-23 15:18:41.000000000 -0300 | |
@@ -28,40 +28,6 @@ | |
@LIBPATH = (@LIBPATH,@libs64); | |
} | |
-############################################################################################# | |
-# Build options passed in to script to support reproducible builds via Makefiles | |
-############################################################################################# | |
-my $result = GetOptions("options=s" => \$options, |
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
#!/bin/bash | |
checkIfMySQLTableExists() { | |
table=$1; | |
DB=$2; | |
if [ $(mysql -N -s -u root -p -e \ | |
"select count(*) from information_schema.tables where \ | |
table_schema='${DB}' and table_name='${table}';") -eq 1 ]; then | |
echo "Table ${table} exists! ..."; | |
else |
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
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use Getopt::Long qw(:config no_ignore_case ); | |
my $replace = undef; | |
my $delete = undef; | |
my $help = 0; | |
GetOptions ( |
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
#!/usr/bin/env bash | |
# This script assigns Elastic Network Interface (ENI) passed as argument to current instance. | |
# The goal of this script is to attach an ENI to a single instance running in an ASG for example. | |
export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin | |
PROG_NAME=$(basename $0) | |
AWSCLI=$(which aws) | |
JQ=$(which jq) |
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
# The contents below were provided by the Packer Vagrant post-processor | |
Vagrant.configure("2") do |config| | |
config.vm.base_mac = "080027AAA818" | |
end | |
# The contents below (if any) are custom contents provided by the | |
# Packer template during image build. |
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
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Checking if box 'OBSCURED/freebsd-10.1-amd64' is up to date... | |
==> default: Clearing any previously set forwarded ports... | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... | |
default: Adapter 1: nat | |
default: Adapter 2: hostonly | |
==> default: Forwarding ports... | |
default: 22 (guest) => 2222 (host) (adapter 1) | |
==> default: Running 'pre-boot' VM customizations... |