Did I find the right examples for you? yes no

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

src/l/o/loom-0.0.17/loom/puppet.py   loom(Download)
from .decorators import requires_puppet
from .tasks import restart
from .utils import upload_dir
 
__all__ = ['update', 'update_configs', 'install', 'install_master', 'install_agent', 'apply', 'force']
    module_dir = env.get('puppet_module_dir', 'modules/')
    if not module_dir.endswith('/'): module_dir+='/'
    upload_dir(module_dir, '/etc/puppet/modules', use_sudo=True)
 
    # Install vendor modules

src/l/o/loom-0.0.17/loom/app.py   loom(Download)
import os
from .tasks import restart
from .utils import upload_dir
 
__all__ = ['deploy', 'build', 'upload', 'versions', 'update_version']
 
    # Upload new code
    upload_dir('build/%s/*' % app, version_path, use_sudo=True)
 
    # Run post-upload

src/l/o/loom-HEAD/loom/puppet.py   loom(Download)
from .decorators import requires_puppet
from .tasks import restart
from .utils import upload_dir
 
__all__ = ['update', 'update_configs', 'install', 'install_master', 'install_agent', 'apply', 'force']
    module_dir = env.get('puppet_module_dir', 'modules/')
    if not module_dir.endswith('/'): module_dir+='/'
    upload_dir(module_dir, '/etc/puppet/modules', use_sudo=True)
 
    # Install vendor modules

src/l/o/loom-HEAD/loom/app.py   loom(Download)
import os
from .tasks import restart
from .utils import upload_dir
 
__all__ = ['deploy', 'build', 'upload', 'versions', 'update_version']
 
    # Upload new code
    upload_dir('build/%s/*' % app, version_path, use_sudo=True)
 
    # Run post-upload