From 83fc22f05e36c0f79c61e14bcc0360a3e40b98fd Mon Sep 17 00:00:00 2001 From: Frank Stutz Date: Wed, 19 Oct 2016 14:25:51 -0700 Subject: [PATCH] changed workind from branch to environment for config_string --- plugins/inputs/puppetagent/last_run_summary.yaml | 2 +- plugins/inputs/puppetagent/puppetagent_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/inputs/puppetagent/last_run_summary.yaml b/plugins/inputs/puppetagent/last_run_summary.yaml index 796279ec4..be2f01746 100644 --- a/plugins/inputs/puppetagent/last_run_summary.yaml +++ b/plugins/inputs/puppetagent/last_run_summary.yaml @@ -30,5 +30,5 @@ last_run: 1444936531 cron: 0.000584 version: - config: "branch:d6018ce" + config: "environment:d6018ce" puppet: "3.7.5" diff --git a/plugins/inputs/puppetagent/puppetagent_test.go b/plugins/inputs/puppetagent/puppetagent_test.go index c03469a1d..aeead6855 100644 --- a/plugins/inputs/puppetagent/puppetagent_test.go +++ b/plugins/inputs/puppetagent/puppetagent_test.go @@ -28,7 +28,7 @@ func TestGather(t *testing.T) { "resources_outofsync": int64(0), "changes_total": int64(0), "time_lastrun": int64(1444936531), - "version_config_string": "branch:d6018ce", + "version_config_string": "environment:d6018ce", "time_user": float64(0.004331), "time_schedule": float64(0.001123), "time_filebucket": float64(0.000353),