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
aws ec2 create-tags --resources $(wget -q -O- http://169.254.169.254/latest/meta-data/instance-id) --tags Key=Name,Value=DeploymentServer |
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
###################################################################################################################### | |
# Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. # | |
# # | |
# Licensed under the Amazon Software License (the "License"). You may not use this file except in compliance # | |
# with the License. A copy of the License is located at # | |
# # | |
# http://aws.amazon.com/asl/ # | |
# # | |
# or in the "license" file accompanying this file. This file is dist |
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
#Interval 10 | |
#ReadThreads 5 | |
#LoadPlugin syslog | |
#<Plugin "syslog"> | |
# LogLevel "err" | |
#</Plugin> | |
LoadPlugin logfile | |
<Plugin "logfile"> |
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
reporting-disabled = false | |
[meta] | |
dir = "/var/lib/influxdb/meta" | |
retention-autocreate = true |
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
coffee scirpt | |
module.exports = (robot) -> | |
robot.respond /agile\s+(.+)/i, (msg) -> | |
input = msg.match[1] | |
cp = require "child_process" | |
encoded = new Buffer(input).toString('base64') | |
cp.exec "bundle exec ruby scripts/ruby/agile.rb #{encoded}", (error, stdout, stderr) -> | |
if error | |
msg.send "Error: #{error.code} - #{stderr}" |
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/bash | |
set -eo pipefail | |
# | |
# MongoDB Backup Script | |
# VER. 0.20 | |
# More Info: http://github.com/micahwedemeyer/automongobackup | |
# Note, this is a lobotomized port of AutoMySQLBackup | |
# (http://sourceforge.net/projects/automysqlbackup/) for use with | |
# MongoDB. |
NewerOlder