예제 #1
0
    def pre_upgrade_restart(self, env, upgrade_type=None):
        import params
        env.set_params(params)

        upgrade.prestart(env, "ranger-kms")
        kms(upgrade_type=upgrade_type)
        setup_java_patch()
예제 #2
0
    def pre_upgrade_restart(self, env, upgrade_type=None):
        import params
        env.set_params(params)

        stack_select.select_packages(params.version)
        kms(upgrade_type=upgrade_type)
        setup_java_patch()
예제 #3
0
  def pre_rolling_restart(self, env):
    import params
    env.set_params(params)

    upgrade.prestart(env, "ranger-kms")
    setup_kms_db()
    kms()
    setup_java_patch()
예제 #4
0
  def install(self, env):
    self.install_packages(env)
    import params
    env.set_params(params)

    setup_kms_db()
    self.configure(env)
    setup_java_patch()
예제 #5
0
    def install(self, env):
        self.install_packages(env)
        import params
        env.set_params(params)

        setup_kms_db()
        self.configure(env)
        setup_java_patch()
예제 #6
0
    def pre_rolling_restart(self, env):
        import params
        env.set_params(params)

        upgrade.prestart(env, "ranger-kms")
        setup_kms_db()
        kms()
        setup_java_patch()
예제 #7
0
  def pre_upgrade_restart(self, env, upgrade_type=None):
    import params
    env.set_params(params)

    upgrade.prestart(env, "ranger-kms")
    setup_kms_db()
    kms()
    setup_java_patch()
예제 #8
0
  def install(self, env):
    self.install_packages(env)
    import params
    env.set_params(params)

    # taking backup of install.properties file
    Execute(('cp', '-f', format('{kms_home}/install.properties'), format('{kms_home}/install-backup.properties')),
      not_if = format('ls {kms_home}/install-backup.properties'),
      only_if = format('ls {kms_home}/install.properties'),
      sudo = True
    )

    setup_kms_db()
    self.configure(env)
    setup_java_patch()