lib/vagrant-orchestrate/config.rb
def merge(new_config)
          result = dup
          unless new_config.unset?
            result.prompt = new_config.prompt unless new_config.prompt == UNSET_VALUE
            result.file_path = new_config.file_path unless new_config.file_path == UNSET_VALUE
            result.username = new_config.username unless new_config.username == UNSET_VALUE
            result.password = new_config.password unless new_config.password == UNSET_VALUE
          end
          result
        end
# Merge needs to be implemented here because this class doesn't get to
# to extend Vagrant.plugin(2, :config), and it would be pretty surprising
# if credentials configuration defined at different levels couldn't be merged
Merge needs to be implemented here because this class doesn't get to
to extend Vagrant.plugin(2, :config), and it would be pretty surprising
if credentials configuration defined at different levels couldn't be merged
Merge needs to be implemented here because this class doesn ' t get to to extend Vagrant . plugin ( 2 : config ) and it would be pretty surprising if credentials configuration defined at different levels couldn ' t be merged
def merge(new_config)
          result = dup
          unless new_config.unset?
            result.prompt = new_config.prompt unless new_config.prompt == UNSET_VALUE
            result.file_path = new_config.file_path unless new_config.file_path == UNSET_VALUE
            result.username = new_config.username unless new_config.username == UNSET_VALUE
            result.password = new_config.password unless new_config.password == UNSET_VALUE
          end
          result
        end
def merge ( new_config ) result = dup unless new_config . unset? result . prompt = new_config . prompt unless new_config . prompt == UNSET_VALUE result . file_path = new_config . file_path unless new_config . file_path == UNSET_VALUE result . username = new_config . username unless new_config . username == UNSET_VALUE result . password = new_config . password unless new_config . password == UNSET_VALUE end result end
Merge needs to be implemented here because this class doesn't get to
to extend Vagrant.plugin(2, :config), and it would be pretty surprising
if credentials configuration defined at different levels couldn't be merged
Merge needs to be implemented here because this class doesn ' t get to to extend Vagrant . plugin ( 2 : config ) and it would be pretty surprising if credentials configuration defined at different levels couldn ' t be merged
new_config