Skip to content

Commit 93ee041

Browse files
bbinghambbingham
bbingham
authored and
bbingham
committed
Initial Commit
0 parents  commit 93ee041

File tree

49 files changed

+1203
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+1203
-0
lines changed

Diff for: .gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.DS_Store
2+
*.pyc
3+
*.idea
4+
*.pyo
5+
_book
6+
*.retry
7+
test*.xml
8+
**/.DS_Store
9+
.vscode

Diff for: README.md

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Required Defaults.yml File
2+
For security reasons, we do not ship with our defaults. This means that it is required to be provided by the user of these images. The file can be loaded in two different ways. It can be loaded via a URL or through a mounted volume.
3+
4+
## Loading through a URL
5+
The url must be a text yml file, and accessible through a HTTP GET request. Currently, no parameters are passed through the request. Redirects are permitted.
6+
7+
## Loading through a flat file
8+
The flat file must be mounted into the container at /tmp/defaults/default.yml. It must be readable.
9+
10+
## Defaults.yml format
11+
An example implementation is provided
12+
```
13+
---
14+
# Splunk defaults
15+
16+
retry_num: 100
17+
splunk:
18+
opt: /opt
19+
home: /opt/splunk
20+
user: splunk
21+
group: splunk
22+
exec: /opt/splunk/bin/splunk
23+
pid: /opt/splunk/var/run/splunk/splunkd.pid
24+
password: "{{ splunk_password | default('invalid_password') }}"
25+
svc_port: 8089
26+
s2s_port: 9997
27+
http_port: 8000
28+
hec_port: 8088
29+
hec_disabled: 0
30+
hec_enableSSL: 1
31+
#The hec_token here is used for INGESTION only (receiving splunk events).
32+
#Setting up your environment to forward events out of the cluster is another matter entirely
33+
hec_token: 00000000-0000-0000-0000-000000000000
34+
app_paths:
35+
default: /opt/splunk/etc/apps
36+
shc: /opt/splunk/etc/shcluster/apps
37+
idxc: /opt/splunk/etc/master-apps
38+
httpinput: /opt/splunk/etc/apps/splunk_httpinput
39+
40+
# Search Head Clustering
41+
shc:
42+
enable: false
43+
#Change these before deploying
44+
secret: some_secret
45+
replication_factor: 3
46+
replication_port: 4001
47+
48+
# Indexer Clustering
49+
idxc:
50+
#Change before deploying
51+
secret: some_secret
52+
search_factor: 2
53+
replication_factor: 3
54+
replication_port: 9887
55+
```
56+

Diff for: ansible-retry/.placeholder

Whitespace-only changes.

Diff for: ansible.cfg

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
[defaults]
2+
ask_pass = False
3+
ansible_shell_type = bash
4+
command_warnings = True
5+
deprecation_warnings = True
6+
display_skipped_hosts = False
7+
error_on_undefined_vars = True
8+
force_color = True
9+
forks = 50
10+
gathering = smart
11+
host_key_checking = False
12+
# Colon separated list where ansible modules are located
13+
library = ./library:./apps/library:./ansible_commands
14+
no_log = False
15+
retry_files_enabled = True
16+
retry_files_save_path = ./ansible-retry
17+
system_warnings = True
18+
transport = ssh
19+
hash_behaviour = merge
20+
callback_whitelist = profile_tasks
21+
timeout = 30
22+
23+
[privilege_escalation]
24+
become = False
25+
become_method = sudo
26+
become_user = root
27+
become_ask_pass = False
28+
29+
[ssh_connection]
30+
ssh_args = -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o VerifyHostKeyDNS=no -o CheckHostIP=no -o Protocol=2 -o Compression=yes -o IdentitiesOnly=yes -o IPQoS=lowdelay -o ServerAliveCountMax=3 -o ServerAliveInterval=20 -o TCPKeepAlive=yes -o ControlMaster=auto -o ControlPersist=30s -o ForwardX11=no -o ForwardAgent=yes
31+
scp_if_ssh = True
32+
pipelining = True
33+
control_path = /tmp/ansible-ssh-%%h-%%p-%%r
34+
retries = 5

0 commit comments

Comments
 (0)