diff options
Diffstat (limited to 'modules/role/manifests/cryptoportfolio.pp')
-rw-r--r-- | modules/role/manifests/cryptoportfolio.pp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/role/manifests/cryptoportfolio.pp b/modules/role/manifests/cryptoportfolio.pp index 6a659cc..53b7abd 100644 --- a/modules/role/manifests/cryptoportfolio.pp +++ b/modules/role/manifests/cryptoportfolio.pp | |||
@@ -9,6 +9,7 @@ class role::cryptoportfolio ( | |||
9 | String $pg_db, | 9 | String $pg_db, |
10 | Optional[String] $pg_hostname = "localhost", | 10 | Optional[String] $pg_hostname = "localhost", |
11 | Optional[String] $pg_port = "5432", | 11 | Optional[String] $pg_port = "5432", |
12 | Optional[String] $redis_host = "/run/redis/redis.sock", | ||
12 | Optional[String] $web_host = undef, | 13 | Optional[String] $web_host = undef, |
13 | Optional[String] $web_port = "", | 14 | Optional[String] $web_port = "", |
14 | Optional[Boolean] $web_ssl = true, | 15 | Optional[Boolean] $web_ssl = true, |
@@ -30,6 +31,9 @@ class role::cryptoportfolio ( | |||
30 | contain "role::cryptoportfolio::notify" | 31 | contain "role::cryptoportfolio::notify" |
31 | 32 | ||
32 | unless empty($trader_version) { | 33 | unless empty($trader_version) { |
34 | if versioncmp($trader_version, "v1.3") >= 0 { | ||
35 | include "profile::redis" | ||
36 | } | ||
33 | contain "role::cryptoportfolio::bot" | 37 | contain "role::cryptoportfolio::bot" |
34 | } | 38 | } |
35 | 39 | ||