Skip to content

Commit

Permalink
Merge pull request #72 from sylvainfaivre/make-compass-optional
Browse files Browse the repository at this point in the history
don't install compass unless asked for
  • Loading branch information
myii authored Nov 29, 2019
2 parents 9140a18 + a6916f2 commit 159be90
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions mongodb/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ mongodb:
url: https://download.robomongo.org/RELEASE/linux/robo3t-RELEASE-linux-x86_64-3e50a65.tar.gz

compass:
install: false
version: 1.17.0
binpath: /usr/local

Expand Down
2 changes: 2 additions & 0 deletions mongodb/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

include:
- mongodb.server
{%- if salt['pillar.get']('mongodb:compass:install', False) %}
- mongodb.compass
{%- endif %}
2 changes: 2 additions & 0 deletions pillar.example
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ mongodb:
{%- endif %}

compass:
# compass will not be installed unless this is set
install: true
######## install from archive file
version: 1.17.0

Expand Down

0 comments on commit 159be90

Please sign in to comment.