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

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

src/s/a/sahara-2014.1/sahara/plugins/intel/v3_0_2/installer.py   sahara(Download)
 
    LOG.info("Install software")
    client.cluster.install_software(all_hosts)
 
    LOG.info("Configure services")
    client.nodes.add(scale_ins_hosts, rack, 'hadoop',
                     '/home/hadoop/.ssh/id_rsa')
    client.cluster.install_software(scale_ins_hosts)
 
    if to_scale_nm:

src/s/a/sahara-2014.1/sahara/tests/unit/plugins/intel/v3_0_2/test_client.py   sahara(Download)
        post.return_value = r.make_resp(SESSION_POST_DATA)
        get.return_value = r.make_resp(SESSION_GET_DATA)
        client.cluster.install_software(['bla-bla'])
 
        self.assertEqual(post.call_count, 2)