diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-02-24 00:37:48 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-02-24 00:37:48 +0100 |
commit | 0cd882a82405e43ce99395e1e15e4218e964d0eb (patch) | |
tree | ea2027fb2e1486b99ad3654397c5f2004a4bd19c /modules/profile/manifests | |
parent | 6369d6cf8a5ce2b12478637f0d155144f49683e6 (diff) | |
download | Puppet-0cd882a82405e43ce99395e1e15e4218e964d0eb.tar.gz Puppet-0cd882a82405e43ce99395e1e15e4218e964d0eb.tar.zst Puppet-0cd882a82405e43ce99395e1e15e4218e964d0eb.zip |
Fix regsubst pattern
Diffstat (limited to 'modules/profile/manifests')
-rw-r--r-- | modules/profile/manifests/xmr_stak.pp | 2 |
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", |