base_installation::real_hostname: "%{facts.ec2_metadata.hostname}.v.immae.eu"
base_installation::ldap_cert_path: "/etc/ssl/certs/ca-certificates.crt"
letsencrypt::try_for_real_hostname: true
+profile::xmr_stak::cpulimit: "30"
base_installation::grub_device: "/dev/sdb"
base_installation::ldap_cert_path: "/etc/ssl/certs/ca-certificates.crt"
letsencrypt::try_for_real_hostname: false
+profile::xmr_stak::cpulimit: "90"
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"]
}