aboutsummaryrefslogtreecommitdiff
path: root/modules/profile
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-02-24 00:37:48 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-02-24 00:37:48 +0100
commit0cd882a82405e43ce99395e1e15e4218e964d0eb (patch)
treeea2027fb2e1486b99ad3654397c5f2004a4bd19c /modules/profile
parent6369d6cf8a5ce2b12478637f0d155144f49683e6 (diff)
downloadPuppet-0cd882a82405e43ce99395e1e15e4218e964d0eb.tar.gz
Puppet-0cd882a82405e43ce99395e1e15e4218e964d0eb.tar.zst
Puppet-0cd882a82405e43ce99395e1e15e4218e964d0eb.zip
Fix regsubst pattern
Diffstat (limited to 'modules/profile')
-rw-r--r--modules/profile/manifests/xmr_stak.pp2
1 files changed, 1 insertions, 1 deletions
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 {
29 $mining_pool = lookup("xmr_stak::mining_pool") |$key| { {} } 29 $mining_pool = lookup("xmr_stak::mining_pool") |$key| { {} }
30 $wallet = lookup("xmr_stak::wallet") |$key| { {} } 30 $wallet = lookup("xmr_stak::wallet") |$key| { {} }
31 $password = lookup("xmr_stak::password") |$key| { "x" } 31 $password = lookup("xmr_stak::password") |$key| { "x" }
32 $instance = regsubst($facts["ec2_metadata"]["hostname"], "\.", "_", "G") 32 $instance = regsubst($facts["ec2_metadata"]["hostname"], '\.', "_", "G")
33 33
34 file { "/var/lib/xmr_stak/xmr-stak.conf": 34 file { "/var/lib/xmr_stak/xmr-stak.conf":
35 mode => "0644", 35 mode => "0644",