def create(plan): uid = graph.create_plan(plan).graph['uid'] remember_uid(uid) click.echo(uid)
def seq_plan(): seq_path = os.path.join( os.path.dirname(os.path.realpath(__file__)), 'orch_fixtures', 'sequential.yaml') return graph.create_plan(seq_path, save=False)
def plan_from_fixture(name): riak_path = os.path.join( os.path.dirname(os.path.realpath(__file__)), 'orch_fixtures', '%s.yaml' % name) return graph.create_plan(riak_path)
def riak_plan(): riak_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'orch_fixtures', 'riak.yaml') return graph.create_plan(riak_path, save=False)
def simple(): simple_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'orch_fixtures', 'simple.yaml') return graph.create_plan(simple_path)
def plan_from_fixture(name): riak_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'orch_fixtures', '%s.yaml' % name) return graph.create_plan(riak_path)
def riak_plan(): riak_path = os.path.join( os.path.dirname(os.path.realpath(__file__)), 'orch_fixtures', 'riak.yml') return graph.create_plan(riak_path, save=False)
def simple(): simple_path = os.path.join( os.path.dirname(os.path.realpath(__file__)), 'orch_fixtures', 'simple.yaml') return graph.create_plan(simple_path)
def create(plan): click.echo(graph.create_plan(plan.read()).graph['uid'])
def riak_plan(): riak_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "orch_fixtures", "riak.yaml") return graph.create_plan(riak_path, save=False)
def create(plan): click.echo(graph.create_plan(plan.read()))