Add 'enable_reporting' attribute for chef provisioner
This commit is contained in:
parent
09a463f1ac
commit
74ffcb27d6
|
@ -29,6 +29,7 @@ module VagrantPlugins
|
||||||
attr_accessor :file_cache_path
|
attr_accessor :file_cache_path
|
||||||
attr_accessor :file_backup_path
|
attr_accessor :file_backup_path
|
||||||
attr_accessor :verbose_logging
|
attr_accessor :verbose_logging
|
||||||
|
attr_accessor :enable_reporting
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super
|
super
|
||||||
|
@ -53,6 +54,7 @@ module VagrantPlugins
|
||||||
@file_cache_path = UNSET_VALUE
|
@file_cache_path = UNSET_VALUE
|
||||||
@file_backup_path = UNSET_VALUE
|
@file_backup_path = UNSET_VALUE
|
||||||
@verbose_logging = UNSET_VALUE
|
@verbose_logging = UNSET_VALUE
|
||||||
|
@enable_reporting = UNSET_VALUE
|
||||||
|
|
||||||
# Runner options
|
# Runner options
|
||||||
@json = {}
|
@json = {}
|
||||||
|
@ -85,6 +87,7 @@ module VagrantPlugins
|
||||||
@file_backup_path = "/var/chef/backup" if @file_backup_path == UNSET_VALUE
|
@file_backup_path = "/var/chef/backup" if @file_backup_path == UNSET_VALUE
|
||||||
@file_cache_path = "/var/chef/cache" if @file_cache_path == UNSET_VALUE
|
@file_cache_path = "/var/chef/cache" if @file_cache_path == UNSET_VALUE
|
||||||
@verbose_logging = false if @verbose_logging == UNSET_VALUE
|
@verbose_logging = false if @verbose_logging == UNSET_VALUE
|
||||||
|
@enable_reporting = true if @enable_reporting == UNSET_VALUE
|
||||||
|
|
||||||
if @encrypted_data_bag_secret_key_path == UNSET_VALUE
|
if @encrypted_data_bag_secret_key_path == UNSET_VALUE
|
||||||
@encrypted_data_bag_secret_key_path = nil
|
@encrypted_data_bag_secret_key_path = nil
|
||||||
|
|
|
@ -93,6 +93,7 @@ module VagrantPlugins
|
||||||
log_level: @config.log_level.to_sym,
|
log_level: @config.log_level.to_sym,
|
||||||
node_name: @config.node_name,
|
node_name: @config.node_name,
|
||||||
verbose_logging: @config.verbose_logging,
|
verbose_logging: @config.verbose_logging,
|
||||||
|
enable_reporting: @config.enable_reporting,
|
||||||
http_proxy: @config.http_proxy,
|
http_proxy: @config.http_proxy,
|
||||||
http_proxy_user: @config.http_proxy_user,
|
http_proxy_user: @config.http_proxy_user,
|
||||||
http_proxy_pass: @config.http_proxy_pass,
|
http_proxy_pass: @config.http_proxy_pass,
|
||||||
|
|
Loading…
Reference in New Issue