Skip to content

Commit

Permalink
Merge pull request #55 from sleighzy/upgrade-to-3.9.3
Browse files Browse the repository at this point in the history
Upgrade to ZooKeeper 3.9.3
  • Loading branch information
sleighzy authored Oct 29, 2024
2 parents 92420cb + 3a14049 commit 42306a0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ See <https://github.com/ansible/ansible/issues/71528> for more information.
| Variable | Default | Comment |
| ---------------------------------------- | ----------------------------------------------------------------- | -------------------------------------------------------------- |
| zookeeper_mirror | <https://dlcdn.apache.org/zookeeper> | |
| zookeeper_version | 3.9.2 | |
| zookeeper_version | 3.9.3 | |
| zookeeper_package | apache-zookeeper-{{ zookeeper_version }}-bin.tar.gz | |
| zookeeper_group | zookeeper | |
| zookeeper_user | zookeeper | |
Expand Down
2 changes: 1 addition & 1 deletion defaults/main.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# Installation variables

zookeeper_version: 3.9.2
zookeeper_version: 3.9.3
zookeeper_mirror: https://dlcdn.apache.org/zookeeper
zookeeper_package: apache-zookeeper-{{ zookeeper_version }}-bin.tar.gz

Expand Down
8 changes: 4 additions & 4 deletions molecule/default/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
- "'zookeeper' in getent_passwd"
- "'zookeeper' in getent_group"

- name: Register '/usr/share/apache-zookeeper-3.9.2' installation directory status
- name: Register '/usr/share/apache-zookeeper-3.9.3' installation directory status
ansible.builtin.stat:
path: '/usr/share/apache-zookeeper-3.9.2'
path: '/usr/share/apache-zookeeper-3.9.3'
register: install_dir

- name: Assert that '/usr/share/apache-zookeeper-3.9.2' directory is created
- name: Assert that '/usr/share/apache-zookeeper-3.9.3' directory is created
ansible.builtin.assert:
that:
- install_dir.stat.exists
Expand All @@ -39,7 +39,7 @@
that:
- zookeeper_dir.stat.exists
- zookeeper_dir.stat.islnk
- zookeeper_dir.stat.lnk_target == '/usr/share/apache-zookeeper-3.9.2'
- zookeeper_dir.stat.lnk_target == '/usr/share/apache-zookeeper-3.9.3'

- name: Register '/etc/zookeeper' directory status
ansible.builtin.stat:
Expand Down

0 comments on commit 42306a0

Please sign in to comment.