Skip to content

Commit 2167491

Browse files
committed
test(pillar): add pillar for default suite (from pillar.example)
1 parent c778890 commit 2167491

File tree

1 file changed

+153
-0
lines changed

1 file changed

+153
-0
lines changed

test/salt/pillar/default.sls

Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
# -*- coding: utf-8 -*-
2+
# vim: ft=yaml
3+
---
4+
mongodb:
5+
robo3t:
6+
######## install from archive file
7+
version: 1.2.1
8+
# yamllint disable-line rule:line-length
9+
source_hash: sha512=ead2c4847dc1cd4024f60f34a142af6c6818f90a37b5ae075c8b65414ee8ca8074355446c9e264094f776f7798bfba37a7c7018f94d0bec109715061ab3a57c3
10+
11+
compass:
12+
######## install from archive file
13+
version: 1.17.0
14+
15+
system:
16+
userhome: /home
17+
use_firewalld: false
18+
use_selinux: false
19+
pidpath: /var/run/mongodb
20+
deps:
21+
- curl
22+
- openssl
23+
dl:
24+
interval: 60
25+
retries: 2
26+
tmpdir: /tmp/mongodbtmp
27+
28+
server:
29+
package: mongodb-org
30+
version: 4.0
31+
use_repo: true
32+
use_archive: false
33+
use_schema: false
34+
disable_transparent_hugepages: true
35+
binpath: /usr # could be /usr/local/mongodb when use_archive=true
36+
user: mongodb
37+
group: mongodb
38+
mongod:
39+
service: mongod
40+
shortcut: false
41+
package: mongodb-org-server
42+
conf_path: /etc/mongod.conf
43+
conf:
44+
systemLog:
45+
logAppend: false
46+
destination: file
47+
path: /var/log/mongodb/mongod.log
48+
storage:
49+
dbPath: /var/lib/mongodb/mongod
50+
journal:
51+
enabled: true
52+
replication:
53+
replSetName: "rs1"
54+
sharding:
55+
clusterRole: shardsvr
56+
net:
57+
bindIp: '{{ grains.ipv4[-1] or grains.ipv6[-1] }}'
58+
port: 27018
59+
processManagement:
60+
timeZoneInfo: /usr/share/zoneinfo
61+
fork: true
62+
pidFilePath: /var/run/mongodb/mongod.pid
63+
systemd:
64+
file: /usr/lib/systemd/system/mongod.service
65+
conf:
66+
Type: forking
67+
LimitFSIZE: infinity
68+
LimitCPU: infinity
69+
LimitAS: infinity
70+
LimitNOFILE: 64000
71+
LimitNPROC: 64000
72+
LimitMEMLOCK: infinity
73+
TasksMax: infinity
74+
TasksAccounting: false
75+
76+
mongos:
77+
service: mongos
78+
shortcut: false
79+
package: mongodb-org-mongos
80+
conf_path: /etc/mongos.conf
81+
conf:
82+
systemLog:
83+
destination: file
84+
path: /var/log/mongodb/mongos.log
85+
processManagement:
86+
timeZoneInfo: /usr/share/zoneinfo
87+
fork: true
88+
pidFilePath: /var/run/mongodb/mongos.pid
89+
net:
90+
bindIp: '{{ grains.ipv4[-1] or grains.ipv6[-1] }}'
91+
port: 28017
92+
sharding:
93+
configDB: 'rs1/{{ grains.ipv4[-1] or grains.ipv6[-1] }}:27018'
94+
systemd:
95+
file: /usr/lib/systemd/system/mongos.service
96+
conf:
97+
Type: simple
98+
LimitFSIZE: infinity
99+
LimitCPU: infinity
100+
LimitAS: infinity
101+
LimitNOFILE: 64000
102+
LimitNPROC: 64000
103+
LimitMEMLOCK: infinity
104+
TasksMax: infinity
105+
TasksAccounting: false
106+
shell:
107+
package: mongodb-org-shell
108+
mongorc: /etc/mongorc.js
109+
tools:
110+
package: mongodb-org-tools
111+
112+
bic:
113+
######### install from archive file
114+
version: 2.7.0
115+
use_repo: false
116+
use_archive: true
117+
use_schema: true
118+
binpath: /usr/local/bic
119+
user: mongodb
120+
group: mongodb
121+
mongosqld:
122+
service: mongosqld
123+
shortcut: false
124+
conf_path: /etc/mongosqld.conf
125+
conf:
126+
systemLog:
127+
logAppend: true
128+
path: /var/log/mongodb/mongosqld.log
129+
schema:
130+
path: /etc/mongosqld/schema
131+
security:
132+
enabled: false
133+
mongodb:
134+
net:
135+
uri: '{{ grains.ipv4[-1] or grains.ipv6[-1] }}:27018'
136+
# auth:
137+
# username: root
138+
# password: changeme
139+
net:
140+
bindIp: '{{ grains.ipv4[-1] or grains.ipv6[-1] }}'
141+
port: 3307
142+
systemd:
143+
file: /usr/lib/systemd/system/mongosqld.service
144+
conf:
145+
Type: simple
146+
LimitFSIZE: infinity
147+
LimitCPU: infinity
148+
LimitAS: infinity
149+
LimitNOFILE: 64000
150+
LimitNPROC: 64000
151+
LimitMEMLOCK: infinity
152+
TasksMax: infinity
153+
TasksAccounting: false

0 commit comments

Comments
 (0)