This code is no longer needed. Heroku has provided syslog drains for all users for free.
For better Heroku logging with Papertrail, check this out:
http://help.papertrailapp.com/kb/hosting-services/heroku#standalone
This code is no longer needed. Heroku has provided syslog drains for all users for free.
For better Heroku logging with Papertrail, check this out:
http://help.papertrailapp.com/kb/hosting-services/heroku#standalone
Copyright (C) 2011 by Colin MacKenzie IV | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in |
# todo.txt colors for dark Solarized color scheme | |
export PRI_A=$RED | |
export PRI_B=$BROWN | |
export PRI_C=$BLUE | |
export PRI_D=$CYAN | |
export PRI_E=$LIGHT_PURPLE | |
export PRI_X=$LIGHT_CYAN | |
export COLOR_DONE=$LIGHT_GREEN |
--- src/crowd_client.h 2012-03-16 14:05:25.000000000 +0900 | |
+++ src/crowd_client.h 2012-03-16 14:52:02.000000000 +0900 | |
@@ -14,6 +14,7 @@ | |
const char *crowd_app_password; /* Application password used to authenticate with Crowd */ | |
const char *crowd_url; /* Base URL of the Crowd server */ | |
long crowd_timeout; /* Crowd response timeout, in seconds, or 0 for no timeout */ | |
+ const char *groups_env_name; /* Name of the environment variable to store a space-delimited list of groups that the remote user belongs to */ | |
} crowd_config; | |
/** |
Proof of concept implementation to integrate knife-ec2
and knife-solo Chef Knife plugins.
Adds --solo
option to knife ec2 server create
that uses knife solo bootstrap
for bootstrapping the instance. Also other solo bootstrap options are available.
The knife-bootstrap-solo
branch of tmatilai's knife-solo fork has a proof
of concept implementation to integrate knife-solo
plugin to Opscode Chef's knife bootstrap
command, which also plugins like
bash -c ' | |
<%= "export http_proxy=\"#{knife_config[:bootstrap_proxy]}\"" if knife_config[:bootstrap_proxy] -%> | |
exists() { | |
if command -v $1 &>/dev/null | |
then | |
return 0 | |
else | |
return 1 | |
fi |
Module | Keys | Env vars |
---|---|---|
All | config.proxy.http config.proxy.https config.proxy.no_proxy |
VAGRANT_HTTP_PROXY VAGRANT_HTTPS_PROXY VAGRANT_NO_PROXY |
Env/shell | config.env_proxy.http config.env_proxy.https config.env_proxy.no_proxy |
VAGRANT_ENV_HTTP_PROXY VAGRANT_ENV_HTTPS_PROXY VAGRANT_ENV_NO_PROXY |
Apt | config.apt_proxy.http config.apt_proxy.https |
VAGRANT_APT_HTTP_PROXY VAGRANT_APT_HTTPS_PROXY |
Yum | config.yum_proxy.http config.yum_proxy.https |
VAGRANT_YUM_HTTP_PROXY VAGRANT_YUM_HTTPS_PROXY |
#!/bin/bash | |
# Add Vagrant's NFS setup commands to sudoers, for `vagrant up` without a password | |
# Updated to work with Vagrant 1.3.x | |
# Stage updated sudoers in a temporary file for syntax checking | |
TMP=$(mktemp -t vagrant_sudoers) | |
cat /etc/sudoers > $TMP | |
cat >> $TMP <<EOF | |
# Allow passwordless startup of Vagrant when using NFS. |
# URI of the local (caching) HTTP proxy | |
LOCAL_HTTP_PROXY = 'http://192.168.33.200:8123' | |
# Configures vagrant-cachier and vagrant-proxyconf. | |
# Should be called only on "local machine" providers. | |
def configure_caching(config) | |
if Vagrant.has_plugin?('vagrant-cachier') | |
config.cache.enable_nfs = true | |
config.cache.enable :gem | |
config.cache.enable :npm |