This file contains hidden or 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
[app:main] | |
use = egg:pypicloud | |
filter-with = proxy-prefix | |
pyramid.reload_templates = False | |
pyramid.debug_authorization = false | |
pyramid.debug_notfound = false | |
pyramid.debug_routematch = false | |
pyramid.default_locale_name = en |
This file contains hidden or 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
#!/usr/bin/env python | |
from __future__ import print_function | |
import argparse | |
import socket | |
from contextlib import closing | |
from threading import Thread, Lock | |
DEFAULT_PORT = 7088 | |
_env = None | |
lock = Lock() |
This file contains hidden or 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
#!/usr/bin/env bash -e | |
get_p4_url() { | |
local os=$(uname -o) | |
if [[ "$os" =~ Linux ]]; then | |
echo "http://cdist2.perforce.com/perforce/r14.2/bin.linux26x86_64/p4" | |
else | |
echo "http://cdist2.perforce.com/perforce/r14.2/bin.macosx105x86/p4" | |
fi | |
} |
This file contains hidden or 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
#!/usr/bin/env python | |
import os | |
import argparse | |
import yaml | |
class IRosterFactory(object): | |
""" Interface for objects that can generate a Salt roster """ |
This file contains hidden or 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
#!/usr/bin/env python | |
""" | |
This is a cute little script for easily running shell commands across many | |
servers using salt. | |
Copyright (c) 2013 Steven Arcangeli | |
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 |