aboutsummaryrefslogtreecommitdiff
path: root/modules/profile/manifests/xmr_stak.pp
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-03-19 16:21:22 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-03-19 16:21:22 +0100
commit433e9279d165bf225c597834b5a7c7ae64c11a27 (patch)
tree3419561c1aa1f57dc21f8665e3d9e6d0531d5df9 /modules/profile/manifests/xmr_stak.pp
parentb60b98643a6da52c08ced89779964b722230a7db (diff)
parentc443842eae41fb28d5608acfd303106e5f24798a (diff)
downloadPuppet-433e9279d165bf225c597834b5a7c7ae64c11a27.tar.gz
Puppet-433e9279d165bf225c597834b5a7c7ae64c11a27.tar.zst
Puppet-433e9279d165bf225c597834b5a7c7ae64c11a27.zip
Merge branch 'fixes' into dev
Diffstat (limited to 'modules/profile/manifests/xmr_stak.pp')
-rw-r--r--modules/profile/manifests/xmr_stak.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/profile/manifests/xmr_stak.pp b/modules/profile/manifests/xmr_stak.pp
index c8bbcdd..ccb6baa 100644
--- a/modules/profile/manifests/xmr_stak.pp
+++ b/modules/profile/manifests/xmr_stak.pp
@@ -1,6 +1,7 @@
1class profile::xmr_stak ( 1class profile::xmr_stak (
2 String $mining_pool, 2 String $mining_pool,
3 String $wallet, 3 String $wallet,
4 Optional[String] $cpulimit = "50",
4 Optional[String] $password = "x", 5 Optional[String] $password = "x",
5) { 6) {
6 ensure_resource('exec', 'systemctl daemon-reload', { 7 ensure_resource('exec', 'systemctl daemon-reload', {
@@ -25,7 +26,7 @@ class profile::xmr_stak (
25 mode => "0644", 26 mode => "0644",
26 owner => "root", 27 owner => "root",
27 group => "root", 28 group => "root",
28 source => "puppet:///modules/profile/xmr_stak/xmr-stak.service", 29 content => template("profile/xmr_stak/xmr-stak.service.erb"),
29 require => User["xmr_stak"], 30 require => User["xmr_stak"],
30 notify => Exec["systemctl daemon-reload"] 31 notify => Exec["systemctl daemon-reload"]
31 } 32 }