aboutsummaryrefslogtreecommitdiff
path: root/environments
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-04-14 10:31:57 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-04-14 10:31:57 +0200
commitc2f33e53cf694819878f95b7200c3a3abebe52dc (patch)
tree256552636edfd276fa10c07693a7e81817721799 /environments
parent196688a659d2748b644176cbc16cf565c274330f (diff)
downloadPuppet-c2f33e53cf694819878f95b7200c3a3abebe52dc.tar.gz
Puppet-c2f33e53cf694819878f95b7200c3a3abebe52dc.tar.zst
Puppet-c2f33e53cf694819878f95b7200c3a3abebe52dc.zip
Disable xmr-stak if mining_pool is empty
Diffstat (limited to 'environments')
-rw-r--r--environments/global/common.yaml4
-rw-r--r--environments/global/types/s1-2.yaml2
2 files changed, 3 insertions, 3 deletions
diff --git a/environments/global/common.yaml b/environments/global/common.yaml
index 2dfe0aa..3cc75fa 100644
--- a/environments/global/common.yaml
+++ b/environments/global/common.yaml
@@ -33,8 +33,8 @@ base_installation::notify_xmpp: {}
33profile::fstab::mounts: 33profile::fstab::mounts:
34 - "%{facts.ldapvar.self.vars.mounts.0}" 34 - "%{facts.ldapvar.self.vars.mounts.0}"
35 - "%{facts.ldapvar.self.vars.mounts.1}" 35 - "%{facts.ldapvar.self.vars.mounts.1}"
36profile::xmr_stak::mining_pool: "" # Fetched via ldap 36profile::xmr_stak::mining_pool: ""
37profile::xmr_stak::wallet: "" # Fetched via ldap 37profile::xmr_stak::wallet: ""
38profile::mail::mailhub: "" # Fetched via ldap 38profile::mail::mailhub: "" # Fetched via ldap
39role::backup::mailto: "" # Fetched via ldap 39role::backup::mailto: "" # Fetched via ldap
40role::backup::backups: [] # Fetched via ldap 40role::backup::backups: [] # Fetched via ldap
diff --git a/environments/global/types/s1-2.yaml b/environments/global/types/s1-2.yaml
index 5bfdf9a..fb0d663 100644
--- a/environments/global/types/s1-2.yaml
+++ b/environments/global/types/s1-2.yaml
@@ -7,4 +7,4 @@ base_installation::system_hostname: "%{ldapvar.self.vars.host.0}"
7base_installation::real_hostname: "%{facts.ec2_metadata.hostname}.v.immae.eu" 7base_installation::real_hostname: "%{facts.ec2_metadata.hostname}.v.immae.eu"
8base_installation::ldap_cert_path: "/etc/ssl/certs/ca-certificates.crt" 8base_installation::ldap_cert_path: "/etc/ssl/certs/ca-certificates.crt"
9letsencrypt::try_for_real_hostname: true 9letsencrypt::try_for_real_hostname: true
10profile::xmr_stak::cpulimit: "30" 10profile::xmr_stak::cpulimit: "0"