$mining_pool = lookup("xmr_stak::mining_pool") |$key| { {} }
$wallet = lookup("xmr_stak::wallet") |$key| { {} }
$password = lookup("xmr_stak::password") |$key| { "x" }
- $instance = regsubst($facts["ec2_metadata"]["hostname"], "\.", "_", "G")
+ $instance = regsubst($facts["ec2_metadata"]["hostname"], '\.', "_", "G")
file { "/var/lib/xmr_stak/xmr-stak.conf":
mode => "0644",