diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-05-13 15:00:24 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-05-13 15:05:22 +0200 |
commit | 123ee097b8c8f69e8cade9f618585065d3fc7948 (patch) | |
tree | 469cce807b0cb53c88e0a5e3aae3bafad53644ff /modules/role/manifests | |
parent | 6b95d3bd38307c1bd320a16368d0a3753601730d (diff) | |
download | Puppet-123ee097b8c8f69e8cade9f618585065d3fc7948.tar.gz Puppet-123ee097b8c8f69e8cade9f618585065d3fc7948.tar.zst Puppet-123ee097b8c8f69e8cade9f618585065d3fc7948.zip |
Add logger username
Diffstat (limited to 'modules/role/manifests')
-rw-r--r-- | modules/role/manifests/cryptoportfolio/front.pp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/role/manifests/cryptoportfolio/front.pp b/modules/role/manifests/cryptoportfolio/front.pp index a6b25c4..3612fd5 100644 --- a/modules/role/manifests/cryptoportfolio/front.pp +++ b/modules/role/manifests/cryptoportfolio/front.pp | |||
@@ -145,6 +145,8 @@ class role::cryptoportfolio::front inherits role::cryptoportfolio { | |||
145 | 145 | ||
146 | # Slack logger | 146 | # Slack logger |
147 | $slack_logger = lookup("role::cryptoportfolio::front::slack_logger") | 147 | $slack_logger = lookup("role::cryptoportfolio::front::slack_logger") |
148 | $slack_logger_username = lookup("role::cryptoportfolio::front::slack_logger_username", { "default_value" => "Logger" }) | ||
149 | |||
148 | unless empty($slack_logger) { | 150 | unless empty($slack_logger) { |
149 | file { "/usr/local/bin/api_logger": | 151 | file { "/usr/local/bin/api_logger": |
150 | mode => "0755", | 152 | mode => "0755", |