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
from Cheetah.Template import Template | |
from delorean import Delorean | |
import parawrap | |
def expand_template(contents, params): | |
if not params: | |
params = {} | |
tpl = Template(source=str(contents), searchList=[params]) | |
return tpl.respond() |
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
import collections | |
import itertools | |
import os | |
from distutils import version as dist_version | |
from pip import req as pip_req | |
import pkg_resources | |
import argparse |
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
import collections | |
import itertools | |
import os | |
from distutils import version as dist_version | |
from pip import req as pip_req | |
import pkg_resources | |
import argparse |
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
import collections | |
import contextlib | |
import itertools | |
import os | |
import shutil | |
import tempfile | |
import copy | |
from distutils import version as dist_version |
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
import collections | |
import contextlib | |
import copy | |
import itertools | |
import os | |
import shutil | |
import tempfile | |
from distutils import version as dist_version |
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
#cloud-config | |
users: | |
- name: "harlowja" | |
sudo: "ALL=(ALL) NOPASSWD:ALL" | |
lock-passwd: False | |
homedir: "/home/harlowja" | |
ssh-authorized-keys: | |
- "ssh-rsa BkDEastNKdRtCVjTyeGu== harlowja@yahoo-inc.com" | |
- "ssh-rsa vjlwNcMAekYeYuQiBKbo== harlowja@BLAHBLAH.corp.yahoo.com" |
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
From nobody Mon Apr 20 12:02:54 2015 | |
Content-Type: multipart/mixed; boundary="===============0102662315==" | |
MIME-Version: 1.0 | |
--===============0102662315== | |
MIME-Version: 1.0 | |
Content-Type: text/cloud-config; charset="us-ascii" | |
Content-Transfer-Encoding: 7bit | |
Content-Disposition: attachment; filename="log_debug.yaml" | |
#cloud-config | |
# Enable full debug logging... |
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
#cloud-config | |
chef: | |
exec: true | |
exec_arguments: | |
- -j | |
- /etc/chef/firstboot.json | |
- -E | |
- staging | |
initial_attributes: |
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
#cloud-config | |
chef: | |
install_type: omnibus | |
validation_name: thingamajig-validator | |
validation_key: | | |
<removed> | |
server_url: https://chef.my-fancy-host.yahoo.com/organizations/thingamajig | |
environment: hosted-unallocated_us-east_dev | |
run_list: |
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
#cloud-config | |
packages: | |
- curl | |
write_files: | |
- content: | | |
#!/usr/bin/env sh | |
basedirn=/home/y/tmp | |
benchdirn=bench_results | |
benchfn=${benchdirn}/bench_results.out |