lib/oscar/command/init_vms.rb in oscar-0.4.3 vs lib/oscar/command/init_vms.rb in oscar-0.5.0
- old
+ new
@@ -41,14 +41,16 @@
o.banner = "Usage: vagrant #{@cmd_name} [<args>]"
o.separator ''
o.on('-m', '--master=val', String, 'The name and basebox for a Puppet master') do |val|
name, box = val.split('=')
+ box ||= 'puppetlabs/centos-7.2-64-nocm'
@masters << [name, box]
end
o.on('-a', '--agent=val', String, 'The name and basebox for a Puppet agent') do |val|
name, box = val.split('=')
+ box ||= 'puppetlabs/centos-7.2-64-nocm'
@agents << [name, box]
end
o.on('-p', '--pe-version=val', String, 'The PE version to install on the VMs') do |val|
@pe_version = val