Skip to content

Instantly share code, notes, and snippets.

View marcy-terui's full-sized avatar

Masashi Terui marcy-terui

View GitHub Profile
@marcy-terui
marcy-terui / .kitcehn.yml
Created August 27, 2015 02:54
knife (zero) bootstrapで入れるChef Clientのバージョンを変える(test-kitchenも) ref: http://qiita.com/Marcy/items/d3e5528a65280dc86f07
provisioner:
name: chef_zero
chef_omnibus_install_options: "-v 12.3.0"
# -*- coding: utf-8 -*-
require 'aws-sdk'
module Serverspec
module Type
class RdsParameters < Base
# AWS API Response Max Records Setting
MAX_RECORDS = 100
#!/bin/sh
# chkconfig: 2345 99 01
# description: SoftEther VPN Client
DAEMON=/usr/local/vpnclient/vpnclient
CMDPATH=/usr/local/vpnclient/vpncmd
CMDHOST=localhost
CMDCONN=local
IP4ADDRESS=192.168.100.1
VIRTUALIF=vpn_adapter01
LOCK=/var/lock/subsys/vpnclient
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Linux Ondemand Instance List</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="Thu, 01 Dec 1994 16:00:00 GMT">
<script type='text/javascript' src='http://code.jquery.com/jquery-1.11.0.min.js'></script>
<script type='text/javascript' src='https://www.google.com/jsapi'></script>
source 'https://rubygems.org'
gem 'nokogiri', '~>1.5.0'
gem 'psych', '2.0.5'
gem 'test-kitchen', '~>1.0.0'
gem 'berkshelf', '~>2.0'
gem 'kitchen-vagrant'
gem 'kitchen-docker'
gem 'serverspec'
gem 'foodcritic'
@marcy-terui
marcy-terui / .kitchen.yml
Created April 25, 2014 08:24
Amazon Linux for kitchen-docker
---
driver_plugin: docker
driver_config:
use_sudo: false
platforms:
- name: amzn20140301
driver_config:
image: marcy/amzn:2014.03.1
読み込んだプラグイン:amazon-id, rhui-lb
インストール済みパッケージ
ModemManager-glib.x86_64 1.1.0-6.git20130913.el7
@anaconda/7.0
NetworkManager.x86_64 1:0.9.9.1-13.git20140326.4dba720.el7
@anaconda/7.0
NetworkManager-config-server.x86_64
1:0.9.9.1-13.git20140326.4dba720.el7
@anaconda/7.0
NetworkManager-glib.x86_64 1:0.9.9.1-13.git20140326.4dba720.el7
読み込んだプラグイン:amazon-id, rhui-lb
インストール済みパッケージ
ModemManager-glib.x86_64 1.1.0-6.git20130913.el7 @anaconda/7.0
NetworkManager.x86_64 1:0.9.9.1-13.git20140326.4dba720.el7
@anaconda/7.0
NetworkManager-config-server.x86_64
1:0.9.9.1-13.git20140326.4dba720.el7
@anaconda/7.0
NetworkManager-glib.x86_64 1:0.9.9.1-13.git20140326.4dba720.el7
@anaconda/7.0
$AWSAccessKey = "YOUR_ACCESS_KEY"
$AWSSecretKey = "YOUR_SECRET_KEY"
$Region = "ap-northeast-1"
$ProfileName = "YOUR_PROFILE_NAME"
$BucketName = "YOUR_BUCKET_NAME"
$BucketKey = "YOUR_OBJECT_KEY"
$LocalPath = "C:\\chef\\validation.pem"
$ChefServerUrl = "YOUR_SERVER_URL"
$Environment = "YOUR_ENVIRONMENT"
$SpanMinutes = 5
@marcy-terui
marcy-terui / LICENSE.txt
Created July 4, 2014 13:29
apache_license.txt
Copyright (C) 2014 Masashi Terui
https://github.com/FumblePerson/
Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
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