Added operations for chef. They might be remove if we decide to not use chef.

This commit is contained in:
Georgy Okrokvertskhov 2013-02-20 11:05:46 -08:00
parent 1273092b6a
commit 8abd1ba3aa
1 changed files with 10 additions and 0 deletions

View File

@ -17,6 +17,10 @@
TEMPLATE_DEPLOYMENT_COMMAND = "Template"
CHEF_COMMAND = "Chef"
CHEF_OP_CREATE_ENV = "Env"
CHEF_OP_CREATE_ROLE = "Role"
CHEF_OP_ASSIGN_ROLE = "AssignRole"
CHEF_OP_CREATE_NODE = "CRNode"
class Command:
type = "Empty"
@ -25,9 +29,15 @@ class Command:
def __init__(self):
self.type = "Empty"
self.context = None
self.data = None
def __init__(self, type, context):
self.type = type
self.context = context
def __init__(self, type, context, data):
self.type = type
self.context = context
self.data = data