예제 #1
0
class MongoDBInstaller(CouchbaseInstaller):

    URL = 'http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.6.1.tgz'

    def __init__(self, cluster_spec, options):
        self.remote = RemoteHelper(cluster_spec, None, options.verbose)

    def uninstall_package(self):
        pass

    def clean_data(self):
        self.remote.clean_mongodb()

    def install_package(self):
        self.remote.install_mongodb(url=self.URL)
예제 #2
0
class MongoDBInstaller(CouchbaseInstaller):

    URL = 'http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.6.1.tgz'

    def __init__(self, cluster_spec, options):
        self.remote = RemoteHelper(cluster_spec, None, options.verbose)

    def uninstall_package(self):
        pass

    def clean_data(self):
        self.remote.clean_mongodb()

    def install_package(self):
        self.remote.install_mongodb(url=self.URL)