lib/pe_build/plugin.rb in vagrant-pe_build-0.9.3 vs lib/pe_build/plugin.rb in vagrant-pe_build-0.9.4

- old
+ new

@@ -59,13 +59,15 @@ guest_capability('suse', 'detect_installer') do require_relative 'cap' PEBuild::Cap::DetectInstaller::SLES end - guest_capability('solaris', 'detect_installer') do - require_relative 'cap' - PEBuild::Cap::DetectInstaller::Solaris + [:solaris, :solaris11].each do |os| + guest_capability(os, 'detect_installer') do + require_relative 'cap' + PEBuild::Cap::DetectInstaller::Solaris + end end guest_capability('windows', 'detect_installer') do require_relative 'cap' PEBuild::Cap::DetectInstaller::Windows @@ -76,12 +78,14 @@ guest_capability('linux', 'run_install') do require_relative 'cap' PEBuild::Cap::RunInstall::POSIX end - guest_capability('solaris', 'run_install') do - require_relative 'cap' - PEBuild::Cap::RunInstall::POSIX + [:solaris, :solaris11].each do |os| + guest_capability(os, 'run_install') do + require_relative 'cap' + PEBuild::Cap::RunInstall::POSIX + end end guest_capability('windows', 'run_install') do require_relative 'cap' PEBuild::Cap::RunInstall::Windows