fix for puppetagent config - test 1

This commit is contained in:
Frank Stutz 2016-10-18 14:09:35 -07:00
parent 91f48e7ad5
commit 974eb3d640
3 changed files with 4 additions and 3 deletions

View File

@ -30,7 +30,7 @@ build-for-docker:
# run package script # run package script
package: package:
./scripts/build.py --package --version="$(VERSION)" --platform=linux --arch=all --upload ./scripts/build.py --package --version="$(VERSION)" --platform=linux --arch=all
# Get dependencies and use gdm to checkout changesets # Get dependencies and use gdm to checkout changesets
prepare: prepare:

View File

@ -68,7 +68,8 @@ type time struct {
} }
type version struct { type version struct {
Config int64 `yaml:"config"` // Config int64 `yaml:"config"`
Config string `yaml:"config"`
Puppet string `yaml:"puppet"` Puppet string `yaml:"puppet"`
} }

View File

@ -28,7 +28,7 @@ func TestGather(t *testing.T) {
"resources_outofsync": int64(0), "resources_outofsync": int64(0),
"changes_total": int64(0), "changes_total": int64(0),
"time_lastrun": int64(1444936531), "time_lastrun": int64(1444936531),
"version_config": int64(1444936521), "version_config": "branch:d6018ce",
"time_user": float64(0.004331), "time_user": float64(0.004331),
"time_schedule": float64(0.001123), "time_schedule": float64(0.001123),
"time_filebucket": float64(0.000353), "time_filebucket": float64(0.000353),