Skip to content

Instantly share code, notes, and snippets.

View kachina's full-sized avatar

Tetsuya Chiba kachina

View GitHub Profile
@kachina
kachina / ey-cloud-recipes_papertrail_syslog-ng-3.2.5_diff
Last active December 20, 2015 19:19
engineyard/ey-cloud-recipesのpapertrailが3.3.5を指定しているのを3.2.5で動作させる様に修正した際のdiff結果です。
diff --git a/cookbooks/papertrail/recipes/default.rb b/cookbooks/papertrail/recipes/default.rb
index f1ef49c..27ca836 100644
--- a/cookbooks/papertrail/recipes/default.rb
+++ b/cookbooks/papertrail/recipes/default.rb
@@ -13,9 +13,9 @@
app_name = node[:applications].keys.first
env = node[:environment][:framework_env]
PAPERTRAIL_CONFIG = {
- :syslog_ng_version => '3.3.5',
+ :syslog_ng_version => '3.2.5',
# 'defaults' applies to all environments running this application.
# Environment specific options apply only to a single environment and override settings in defaults.
---
defaults:
bundle_without: test development mygroup
bundle_options: --local
copy_exclude:
- .git
maintenance_on_restart: false
maintenance_on_migrate: false
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "This is a template for the AWS CloudFormation in order to build a CloudDesignPattern No17. Copyright 2012 Serverworks Co, Ltd. All Rights Reserved. ",
"Parameters" : {
"AMI" : {
"Type" : "String",
"Description" : "AMI ID",
"Default" : "ami-2819aa29",
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "AWS CloudFormation Example Template Copyright 2012 Serverworks Co, Ltd. All Rights Reserved",
"Parameters" : {
"InstanceType" : {
"Type" : "String",
"Description" : "Instance Type: t1.micro, m1.small, c1.medium, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.xlarge.",
"Default" : "t1.micro",
"AllowedValues" : [ "t1.micro","m1.small","c1.medium","m1.medium","m1.large","m1.xlarge","m2.xlarge","m2.2xlarge","m2.4xlarge","c1.xlarge" ],
@kachina
kachina / .bashrc
Created March 13, 2012 08:37
EC-CUBE on AWS (インストール編)
8 # User specific aliases and functions
9
10 export JAVA_HOME=/usr/lib/jvm/jre
11 export AWS_HOME=/opt/aws
12 export AWS_RDS_HOME=$AWS_HOME/apitools/rds
13 export AWS_CREDENTIAL_FILE=$AWS_HOME/credential-file-path
14 export EC2_REGION=ap-northeast-1
15 export PATH=$PATH:$HOME/bin:$JAVA_HOME/bin:$AWS_RDS_HOME/bin