]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blobdiff - modules/profile/manifests/xmr_stak.pp
Fix regsubst pattern
[perso/Immae/Projets/Puppet.git] / modules / profile / manifests / xmr_stak.pp
index 20d2c08baebdfb1e33c8a6896e639aadeab5edfd..e5582eb4a7d25c6a00144258309e7c170f9168ab 100644 (file)
@@ -29,7 +29,7 @@ class profile::xmr_stak {
   $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",