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
/** | |
* Module dependencies. | |
*/ | |
var express = require('express'), | |
routes = require('./routes'), | |
http = require('http'), | |
path = require('path'), | |
MongoStore = require('connect-mongo')(express); |
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/sh | |
export PATH="node_modules/.bin:node_modules/hubot/node_modules/.bin:$PATH" | |
##export HUBOT_LOG_LEVEL="debug" | |
## HipChat | |
export HUBOT_HIPCHAT_TOKEN="" | |
export HUBOT_HIPCHAT_JID="" | |
export HUBOT_HIPCHAT_PASSWORD="" | |
##export HUBOT_HIPCHAT_ROOMS="" |
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
# Dependencies: | |
# "aws2js": "0.6.12" | |
# "underscore": "1.3.3" | |
# | |
# Configuration: | |
# HUBOT_AWS_ACCESS_KEY_ID | |
# HUBOT_AWS_SECRET_ACCESS_KEY | |
# HUBOT_AWS_REGIONS | |
# HUBOT_AWS_KEYNAME | |
# HUBOT_AWS_HOSTZONE |
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
<?php | |
return array( | |
'ssh_key' => 'your_keypair_file', // /path/to/key.pem | |
'ec2_host' => 'your_ec2_ipaddress', // 54.251.xx.xx | |
'ec2_user' => 'your_ec2_user', // ec2-user | |
} |
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
<?php | |
// Include the SDK using the Composer autoloader | |
require_once(APPPATH . "vendor/aws-2.0/autoload.php"); | |
// Include the Mail_MIME | |
require_once("Mail/mime.php"); | |
use Aws\Common\Aws; | |
use Aws\Common\Enum\Region; | |
use Aws\Ses\Exception\SesException; |
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
# | |
# Cookbook Name:: jenkins | |
# Recipe:: default | |
# | |
# Copyright 2013, YOUR_COMPANY_NAME | |
# | |
# All rights reserved - Do Not Redistribute | |
# | |
repo_url = 'http://pkg.jenkins-ci.org/redhat/jenkins.repo' |
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
<source> | |
type forward | |
port 24224 | |
bind 0.0.0.0 | |
</source> | |
## include | |
include conf.d/*.conf | |
<match td.nginx.access> |
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
rpmforge_file = "rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm" | |
execute 'get rpmforge packege' do | |
cwd '/tmp' | |
command "wget http://pkgs.repoforge.org/rpmforge-release/#{ rpmforge_file }" | |
not_if { ::File.exists?("/tmp/#{ rpmforge_file }") } | |
end | |
rpm_package "#{ rpmforge_file }" do | |
action :install |