From 0cd882a82405e43ce99395e1e15e4218e964d0eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 24 Feb 2018 00:37:48 +0100 Subject: Fix regsubst pattern --- modules/profile/manifests/xmr_stak.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/profile') 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", -- cgit v1.2.3