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
[2014-02-15T23:47:35-02:00] DEBUG: Found recipe default in cookbook yum | |
[2014-02-15T23:47:35-02:00] DEBUG: filtered backtrace of compile error: /tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/recipes/default.rb:26:in `from_file',/tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/recipes/default.rb:19:in `from_file',/tmp/vagrant-chef-1/chef-solo-1/cookbooks/logstash/recipes/agent.rb:9:in `from_file' | |
[2014-02-15T23:47:35-02:00] DEBUG: filtered backtrace of compile error: /tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/recipes/default.rb:26:in `from_file',/tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/recipes/default.rb:19:in `from_file',/tmp/vagrant-chef-1/chef-solo-1/cookbooks/logstash/recipes/agent.rb:9:in `from_file' | |
[2014-02-15T23:47:35-02:00] DEBUG: backtrace entry for compile error: '/tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/recipes/default.rb:26:in `from_file'' | |
[2014-02-15T23:47:35-02:00] DEBUG: Line number of compile error: '26' | |
================================================================================ |
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
[2014-02-15T23:47:34-02:00] DEBUG: Platform is ubuntu version 12.04 | |
[2014-02-15T23:47:34-02:00] INFO: Run List is [role[base], recipe[mysql::client], recipe[mysql::ruby], recipe[tomcat::tomcat_proxy], recipe[application::cms]] | |
[2014-02-15T23:47:34-02:00] INFO: Run List expands to [apt, initial_setup, sudo::chefclient, deployment::client, logstash::agent, motd-tail, monit, collectd, ruby, users, users::sysadmins, mysql::client, mysql::ruby, tomcat::tomcat_proxy, application::cms] | |
[2014-02-15T23:47:34-02:00] INFO: Starting Chef Run for cms | |
[2014-02-15T23:47:34-02:00] INFO: Running start handlers | |
[2014-02-15T23:47:34-02:00] INFO: Start handlers complete. | |
[2014-02-15T23:47:34-02:00] DEBUG: No chefignore file found at /tmp/vagrant-chef-1/chef-solo-1/cookbooks/chefignore no files will be ignored | |
[2014-02-15T23:47:34-02:00] DEBUG: Loading cookbook logrotate's library file: /tmp/vagrant-chef-1/chef-solo-1/cookbooks/logrotate/libraries/logrotate_config.rb | |
[2014-02-15T23:47:34-02:00] DEBUG: Loading cookbook openssl's l |
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
# This file was created for i-55aef515 | |
# by Chef | |
# Manual changes will be lost | |
input { | |
file { | |
'path' => ['/var/log/syslog', '/var/log/messages'] | |
'start_position' => 'beginning' | |
'type' => 'syslog' | |
} |
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
docker is easily broken, e.g. its process management becomes easily out of sync. | |
I.e create container, kill process 1, then exit. | |
CID=$(docker run -it -d ubuntu:latest bash); | |
docker exec -i -t $CID kill 1; | |
docker ps | |
docker rm -f $CID; | |
Error response from daemon: Could not kill running container, cannot remove - no such process | |
FATA[0000] Error: failed to remove one or more containers |
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
require 'pp' | |
require 'typhoeus' | |
ENV['QUORUM'] ||= '3' | |
ENV['CONCURRENCY'] ||= '2' | |
ENV['TIMEOUT'] ||= '0.001' | |
ENV['VERBOSE'] ||= '0' | |
urls = { | |
'www.example.com/1' => {}, |
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
andrew@andrew-laptop:~/Downloads/kibana-4.0.2/src/server/bin$ dmsesg | |
... | |
[78982.842191] https[12107]: segfault at 69 ip 000000000040ac8b sp 00007fffb6749b40 error 4 in https[400000+11000] | |
[79011.850704] https[12147]: segfault at 69 ip 000000000040ac8b sp 00007fffbfe7b270 error 4 in https[400000+11000] | |
[79136.983464] https[12301]: segfault at 69 ip 000000000040ac8b sp 00007fffd0b51d10 error 4 in https[400000+11000] | |
[79293.960252] https[12461]: segfault at 69 ip 000000000040ac8b sp 00007fff831e6000 error 4 in https[400000+11000] | |
[79457.281094] https[12723]: segfault at 69 ip 000000000040ac8b sp 00007fffcceae8d0 error 4 in https[400000+11000] |
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
# Upstart Kibana | |
stop on shutdown | |
setuid kibana | |
setgid kibana | |
respawn | |
chdir /opt/kibana/ |
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
--- app.js 2015-04-12 16:31:48.433430728 +0100 | |
+++ app.js 2015-04-12 16:31:48.433430728 +0100 | |
@@ -19,6 +19,12 @@ | |
app.set('view engine', 'jade'); | |
app.set('x-powered-by', false); | |
+var sessions = require("client-sessions") | |
+var c_auth = require('./lib/google-oauth') | |
+var config_security = require('./config/security') | |
+app.use(sessions({ cookieName: 'session', secret: config_security.cookie_secret })) |
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 | |
LATEST_PREDEFINED_SECURITY_GROUP=$(aws elb describe-load-balancer-policies | grep -i PolicyName | awk -F '"' '{print $4}' | head -n1); | |
aws elb describe-load-balancers | awk -F '"' '/LoadBalancerName/ {print $4}' | while read lb; do | |
CURRENT_SECURITY_POLICY=$(aws elb describe-load-balancer-policies --load-balancer-name $lb | egrep ELBSecurityPolicy | awk -F'"' '/PolicyName/ {print $4}'); | |
if [ "${LATEST_PREDEFINED_SECURITY_GROUP}" != "${CURRENT_SECURITY_POLICY}" ]; then | |
echo "Load balancer security policy out of date: '${lb}' - '${CURRENT_SECURITY_POLICY}' expected '${LATEST_PREDEFINED_SECURITY_GROUP}'"; | |
fi | |
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@andrew-desktop:/var/lib/jenkins/jobs/manta/workspace# git submodule update | |
fatal: reference is not a tree: 7c25db19e674b4b7d43a7a14526444c0d5a6bb64 | |
Unable to checkout '7c25db19e674b4b7d43a7a14526444c0d5a6bb64' in submodule path 'library/Everlution' | |
root@andrew-desktop:/var/lib/jenkins/jobs/manta/workspace# git reset | |
Unstaged changes after reset: | |
M library/Everlution | |
root@andrew-desktop:/var/lib/jenkins/jobs/manta/workspace# git commit -m"Update" library/Everlution | |
[detached HEAD b56b876] Update | |
1 files changed, 1 insertions(+), 1 deletions(-) |
OlderNewer