Sha256: 25807051cbb84e95b5522fb863a8c49db8846c5ec82e2b3948ac243e4575f2ee
Contents?: true
Size: 903 Bytes
Versions: 4
Compression:
Stored size: 903 Bytes
Contents
require 'config_builder/model' # Integration with ConfigBuilder 1.x and newer # # @since 2.7.0 module VagrantHosts module ConfigBuilder class Model < ::ConfigBuilder::Model::Provisioner::Base # @!attribute [rw] hosts def_model_attribute :hosts # @!attribute [rw] autoconfigure def_model_attribute :autoconfigure # @!attribute [rw] add_localhost_hostnames def_model_attribute :add_localhost_hostnames # @!attribute [rw] sync_hosts def_model_attribute :sync_hosts # @!attribute [rw] exports def_model_attribute :exports # @!attribute [rw] exports def_model_attribute :imports # @private def configure_hosts(config, val) val.each do |(address, aliases)| config.add_host(address, aliases) end end ::ConfigBuilder::Model::Provisioner.register('hosts', self) end end end
Version data entries
4 entries across 4 versions & 1 rubygems