Skip to content

Commit a6916f2

Browse files
author
Sylvain Faivre
committed
don't install compass unless asked for
1 parent 9140a18 commit a6916f2

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

mongodb/defaults.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ mongodb:
2020
url: https://download.robomongo.org/RELEASE/linux/robo3t-RELEASE-linux-x86_64-3e50a65.tar.gz
2121

2222
compass:
23+
install: false
2324
version: 1.17.0
2425
binpath: /usr/local
2526

mongodb/init.sls

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44

55
include:
66
- mongodb.server
7+
{%- if salt['pillar.get']('mongodb:compass:install', False) %}
78
- mongodb.compass
9+
{%- endif %}

pillar.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ mongodb:
3939
{%- endif %}
4040

4141
compass:
42+
# compass will not be installed unless this is set
43+
install: true
4244
######## install from archive file
4345
version: 1.17.0
4446

0 commit comments

Comments
 (0)