From: Ismaƫl Bouya Date: Fri, 23 Feb 2018 23:37:48 +0000 (+0100) Subject: Fix regsubst pattern X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=0cd882a82405e43ce99395e1e15e4218e964d0eb;p=perso%2FImmae%2FProjets%2FPuppet.git Fix regsubst pattern --- diff --git a/modules/profile/manifests/xmr_stak.pp b/modules/profile/manifests/xmr_stak.pp index 20d2c08..e5582eb 100644 --- a/modules/profile/manifests/xmr_stak.pp +++ b/modules/profile/manifests/xmr_stak.pp @@ -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",