Sha256: 6e9fa8fd83b3a5bebffe37d4286bd76638120f02a0dedcb9bfba6c3df463b34e
Contents?: true
Size: 609 Bytes
Versions: 2
Compression:
Stored size: 609 Bytes
Contents
module Vagrant::Boxen::BaseModule # TODO: Auto include module config on provisioner config class protected def build_options(allowed_options, options, &options_block) if !options && options_block eval_options(allowed_options, &options_block) else options end end def eval_options(allowed_options, &block) Vagrant::Boxen::OptionsEvaluator.new(allowed_options, &block).to_hash end def puppet_options beggining = @options.size > 1 ? "\n" : '' beggining + @options.map do |key, value| " #{key} => '#{value}',\n" if value end.compact.join end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vagrant-boxen-0.0.4 | lib/vagrant-boxen/base_module.rb |
vagrant-boxen-0.0.3 | lib/vagrant-boxen/base_module.rb |