Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/b/a/balanced-infra-HEAD/templates/base.py   balanced-infra(Download)
 
import stratosphere
from stratosphere import And, Equals, Not, NoValue, If, GetAtt, Ref, Join, Base64
 
 
    def UserData(self):
        return Base64(Join('', [
            '#!/bin/bash -xe\n',
            '/opt/bootstrap.sh "', self._name_tag, '" "', self._chef_env, '" "',  self._chef_recipe, '"\n',
        ]))

src/b/a/balanced-infra-HEAD/templates/balanced_gateway.py   balanced-infra(Download)
 
import stratosphere
from stratosphere import Base64, Ref
 
from .base import Template, RoleMixin
    def UserData(self):
        return Base64(''.join([
            '#!/bin/bash -xe\n',
            '/opt/bootstrap.sh nat production role-nat\n',
        ]))