-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract configuration into dedicated doc page
- Loading branch information
Showing
6 changed files
with
101 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
(zookeeper-setup)= | ||
# Configuration | ||
This Salt extension requires configuration, either in the minion's config file or via the Pillar. | ||
|
||
## Basic | ||
```yaml | ||
zookeeper: | ||
hosts: zoo1,zoo2,zoo3 | ||
default_acl: | ||
- username: daniel | ||
password: test | ||
read: true | ||
write: true | ||
create: true | ||
delete: true | ||
admin: true | ||
username: daniel | ||
password: test | ||
``` | ||
## Multiple environments | ||
If configuration for multiple zookeeper environments is required, they can | ||
be set up as different configuration profiles. For example: | ||
```yaml | ||
zookeeper: | ||
prod: | ||
hosts: zoo1,zoo2,zoo3 | ||
default_acl: | ||
- username: daniel | ||
password: test | ||
read: true | ||
write: true | ||
create: true | ||
delete: true | ||
admin: true | ||
username: daniel | ||
password: test | ||
dev: | ||
hosts: | ||
- dev1 | ||
- dev2 | ||
- dev3 | ||
default_acl: | ||
- username: daniel | ||
password: test | ||
read: true | ||
write: true | ||
create: true | ||
delete: true | ||
admin: true | ||
username: daniel | ||
password: test | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters