Sha256: 8dca0f4ec3a2034650344e7a36a00d50ec2b6e123eabc671252440b380d28cc4
Contents?: true
Size: 616 Bytes
Versions: 1
Compression:
Stored size: 616 Bytes
Contents
require 'vagrant' require 'uri' require 'pe_build' class PEBuild::Config < Vagrant::Config::Base attr_writer :download_root attr_writer :version attr_writer :filename def download_root @download_root || 'https://pm.puppetlabs.com/puppet-enterprise' end def version @version || '2.5.2' end def filename @filename || "puppet-enterprise-#{version}-all.tar.gz" end def validate(env, errors) URI.parse(download_root) rescue # TODO I18n errors.add("Invalid download root '#{download_root.inspect}'") end end Vagrant.config_keys.register(:pe_build) { PEBuild::Config }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
oscar-0.2.0alpha2 | lib/pe_build/config.rb |