enable reporting flag

This commit is contained in:
Petr Artamonov 2016-01-07 18:13:30 +01:00
parent 7d7c8799ac
commit 64f19c0dc3
1 changed files with 3 additions and 0 deletions

View File

@ -62,6 +62,8 @@ ENV['HTTPS_PROXY'] = "{{ .HTTPSProxy }}"
{{ if .NOProxy }}no_proxy "{{ join .NOProxy "," }}"{{ end }}
{{ if .SSLVerifyMode }}ssl_verify_mode {{ .SSLVerifyMode }}{{ end }}
{{ if .EnableReporting }}enable_reporting {{ .EnableReporting }}{{ end }}
`
// Provisioner represents a specificly configured chef provisioner
@ -84,6 +86,7 @@ type Provisioner struct {
ServerURL string `mapstructure:"server_url"`
SkipInstall bool `mapstructure:"skip_install"`
SSLVerifyMode string `mapstructure:"ssl_verify_mode"`
EnableReporting string `mapstructure:"enable_reporting"`
ValidationClientName string `mapstructure:"validation_client_name"`
ValidationKey string `mapstructure:"validation_key"`
Version string `mapstructure:"version"`