Skip to content

Instantly share code, notes, and snippets.

View ajohnstone's full-sized avatar

Andrew Johnstone ajohnstone

View GitHub Profile
# 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'
}
[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
[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'
================================================================================
# MySQL Service
description "MySQL Server"
author "Mario Limonciello <superm1@ubuntu.com>"
start on (net-device-up
and local-filesystems
and runlevel [2345])
stop on runlevel [016]
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
config.vm.box = "ubuntu_server_12_10_amd64"
config.vm.box_url = 'http://goo.gl/8kWkm'
nodes = {
'esb' => {
:hostname => '01-esb.photobox.com',
API Per-User Limit Used Courtesy Limit
Google Cloud Datastore API 500.0 requests/second/user 0% 10,000,000 requests/day Request more...
BigQuery API 5.0 requests/second/user 0% 10,000 requests/day Enable billing
Latitude API 1.0 requests/second/user 0% 1,000,000 requests/day Request more...
Google Maps API v3 1.0 requests/second/user 0% 25,000 requests/day Enable billing
Places API 0% 1,000 requests/day Enable billing
Search API for Shopping 1.0 requests/second/user 0% 2,500 requests/day Request more...
Fusion Tables API 2.0 requests/second/user 0% 25,000 requests/day Request more...
Google Cloud SQL API 1.0 requests/second/user 0% 10,000 requests/day Request more...
Drive API 10.0 requests/second/user 0% 10,000,000 requests/day Request more...
*************************** 10. row ***************************
Id: 11408
User: root
Host: localhost
db: glt
Command: Query
Time: 212
State: Sending data
Info: SELECT (t1.cid + 1) as gap_starts_at,
(SELECT MIN(t3.cid) -1 FROM acid_event t3 WHERE t3.cid > t1.cid) as gap_ends_at
WIRED ME:
[11:53:55] Andrew Johnstone: andrew@andrew-OptiPlex-7010:~$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=49 time=10.6 ms
64 bytes from 8.8.8.8: icmp_req=2 ttl=49 time=10.7 ms
64 bytes from 8.8.8.8: icmp_req=3 ttl=49 time=12.9 ms
^C
FatalErrorException: Error: Class 'ezxFormToken' not found in /opt/src/web/symfony/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/LegacyMapper/Configuration.php line 126
in /opt/src/web/symfony/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/LegacyMapper/Configuration.php line 126
# Provisioning
cd /opt/src/provisioning/;
git checkout migration
git submodule init
git submodule update
puppet apply --debug --verbose /etc/puppet/manifests/sandbox.pp
cd /opt/src/;
git checkout migration
git submodule init