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
{ | |
"Description" : "Template to create a US proxy server", | |
"Parameters" : { | |
"KeyName" : { | |
"Description" : "Name of an existing EC2 KeyPair to enable SSH access to the instances", | |
"Type" : "String" | |
}, | |
"VPNServerPort" : { | |
"Description" : "TCP/IP port of the OpenVPN server", | |
"Type" : "String", |
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 sys, os | |
def extract_pkg(package_file): | |
result = {} | |
package_file = package_file.replace('.deb', '') | |
(result['package'], tmp) = package_file.split('_') | |
(tmp, result['build']) = tmp.split('-') | |
tmp = tmp.split('.') |
NewerOlder