class profile::xmr_stak (
String $mining_pool,
String $wallet,
+ Optional[String] $cpulimit = "50",
Optional[String] $password = "x",
) {
ensure_resource('exec', 'systemctl daemon-reload', {
mode => "0644",
owner => "root",
group => "root",
- source => "puppet:///modules/profile/xmr_stak/xmr-stak.service",
+ content => template("profile/xmr_stak/xmr-stak.service.erb"),
require => User["xmr_stak"],
notify => Exec["systemctl daemon-reload"]
}