String $pg_user,
String $pg_user_replication,
String $pg_db,
- Optional[String] $pg_hostname = "localhost",
+ Optional[String] $pg_hostname = "/run/postgresql",
Optional[String] $pg_port = "5432",
+ Optional[String] $redis_host = "/run/redis/redis.sock",
Optional[String] $web_host = undef,
Optional[String] $web_port = "",
Optional[Boolean] $web_ssl = true,
include "profile::postgresql"
include "profile::apache"
include "profile::xmr_stak"
+ include "profile::boinc"
contain "role::cryptoportfolio::postgresql"
contain "role::cryptoportfolio::apache"
contain "role::cryptoportfolio::notify"
unless empty($trader_version) {
+ if versioncmp($trader_version, "v1.3") >= 0 {
+ include "profile::redis"
+ }
contain "role::cryptoportfolio::bot"
}