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
def dosomething(): | |
return "I am doing a thing" |
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 pyon.net.endpoint import RPCClient | |
from pyon.net.messaging import make_node | |
connection_params = { | |
'host': 'localhost', | |
'username': 'guest', | |
'password': 'guest', | |
'vhost': '/', | |
'port': 5672, | |
'heartbeat': 30 |
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
#!/usr/bin/env python | |
import os | |
import sys | |
import base64 | |
import boto | |
from boto.ec2.regioninfo import RegionInfo | |
import urllib2 | |
def pgm_help(): |
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
;==================================================================================== | |
; | |
; ARKANOID 83+ | |
;Started: September 20th 2002 | |
;By: Patrick Armstrong | |
; | |
; | |
;==================================================================================== | |
; | |
; Credits: |
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
def restart_process(self, owner, upid): | |
""" | |
Restart a running process | |
@param owner: owner of the process | |
@param upid: ID of process | |
@return: description of process termination status | |
This is an RPC-style call that returns quickly, as soon as restarting | |
of the process has begun (TERMINATING state). |
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
Fri 30 Mar 2012 13:16:06 PDT |
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
Fri 30 Mar 2012 13:15:46 PDT |
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
Fri 30 Mar 2012 13:15:31 PDT |
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
#!/usr/bin/env python | |
import argparse | |
import sys | |
import uuid | |
import json | |
import yaml | |
import ceiclient |
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
diff --git a/cloudinitd/persistence.py b/cloudinitd/persistence.py | |
index 9e7301e..0ce6b9d 100644 | |
--- a/cloudinitd/persistence.py | |
+++ b/cloudinitd/persistence.py | |
@@ -47,6 +47,7 @@ level_table = Table('level', metadata, | |
service_table = Table('service', metadata, | |
Column('id', Integer, Sequence('event_id_seq'), primary_key=True), | |
Column('name', String(64)), | |
+ Column('run_name', String(64)), | |
Column('level_id', Integer, ForeignKey('level.id')), |