aboutsummaryrefslogtreecommitdiff
path: root/modules/profile/templates
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 /modules/profile/templates
parent196688a659d2748b644176cbc16cf565c274330f (diff)
downloadPuppet-c2f33e53cf694819878f95b7200c3a3abebe52dc.tar.gz
Puppet-c2f33e53cf694819878f95b7200c3a3abebe52dc.tar.zst
Puppet-c2f33e53cf694819878f95b7200c3a3abebe52dc.zip
Disable xmr-stak if mining_pool is empty
Diffstat (limited to 'modules/profile/templates')
-rw-r--r--modules/profile/templates/xmr_stak/xmr-stak.conf.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile/templates/xmr_stak/xmr-stak.conf.erb b/modules/profile/templates/xmr_stak/xmr-stak.conf.erb
index 0228eb6..a1420f2 100644
--- a/modules/profile/templates/xmr_stak/xmr-stak.conf.erb
+++ b/modules/profile/templates/xmr_stak/xmr-stak.conf.erb
@@ -1,6 +1,6 @@
1"pool_list" : 1"pool_list" :
2[ 2[
3{"pool_address" : "<%= @mining_pool %>", "wallet_address" : "<%= @wallet %>.<%= @instance %>", "rig_id": "", "pool_password" : "<%= @password %>", "use_nicehash" : false, "use_tls" : false, "tls_fingerprint" : "", "pool_weight" : 1 }, 3{"pool_address" : "<%= @mining_pool %>", "wallet_address" : "<%= @wallet %>.<%= @instance %>", "rig_id": "", "pool_password" : "<%= @password %>", "use_nicehash" : false, "use_tls" : true, "tls_fingerprint" : "", "pool_weight" : 1 },
4], 4],
5 5
6"currency" : "monero7", 6"currency" : "monero7",