Did I find the right examples for you? yes no

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

src/d/j/djangy-HEAD/install/install.py   djangy(Download)
    require_file     ('/srv/logs/master_api.log',            'www-data',   'www-data',   0600, initial_contents='')
 
if config.PROXYCACHE_NODE:
    if config.ACTION == 'install':
        assert not os.path.exists('/srv/proxycache_manager')
    require_no_apache()
 
if config.PROXYCACHE_NODE:
    require_nginx()
else:
    'master'                 : 'master'     if config.MASTER_NODE     else '',
    'worker'                 : 'worker'     if config.WORKER_NODE     else '',
    'proxycache'             : 'proxycache' if config.PROXYCACHE_NODE else '',
    'master-manager-host'    : config.MASTER_MANAGER_HOST,
    'default-database-host'  : config.DEFAULT_DATABASE_HOST,