From 7ea24b8a89906e19de2a6e9e6a5dd48ddbaf2313 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Sun, 10 Mar 2019 16:15:36 -0700 Subject: [PATCH] Simplify sample config to work around bug in yamlenv It looks like yamlenv doesn't parse quite correctly and seems to think the `:` removed in this diff is defining a new object. I believe it has something to do with a change in yamlenv 0.6.0 to allow interpolating env variables as yaml literals. https://github.com/lbolla/yamlenv/commit/dcb122315971d59c1b695f9d9a0ee2470a31e25d --- sample-config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample-config.yml b/sample-config.yml index 4e8328e..db21997 100644 --- a/sample-config.yml +++ b/sample-config.yml @@ -23,7 +23,7 @@ alerts: -u "api:${MAILGUN_API_KEY}" sms_down: command: > - curl -s -X POST -F "Body=Failure: {monitor_name} has failed" + curl -s -X POST -F "Body=Failure! {monitor_name} has failed" -F "From=${AVAILABLE_NUMBER}" -F "To=${MY_PHONE}" "https://api.twilio.com/2010-04-01/Accounts/${ACCOUNT_SID}/Messages" -u "${ACCOUNT_SID}:${AUTH_TOKEN}"