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
| #!/bin/env python | |
| ## populate /etc/puppet/autosign.conf based on tags | |
| from boto.ec2 import connect_to_region, regions | |
| region = 'us-west-2' | |
| autosign = '/etc/puppet/autosign.conf' | |
| filters = {'tag:Project': 'amo'} | |
| conn = connect_to_region(region) |
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
| #!/bin/env python | |
| import tarfile | |
| import urllib2 | |
| import json | |
| import os | |
| import sys | |
| import datetime | |
| from optparse import OptionParser | |
| ES_HTTP = 'http://localhost:9200' |
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
| %define binsuffix 27 | |
| %define pybasever 2.7 | |
| %define version 2.7.3 | |
| %define name python | |
| %define release 1pydotorg | |
| Name: %{name}%{binsuffix} | |
| Version: %{version} | |
| Release: %{release} | |
| Summary: An interpreted, interactive, object-oriented programming language. |
NewerOlder