veewee 0.1.19 → 0.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- veewee (0.1.19)
4
+ veewee (0.1.20)
5
5
  cucumber (= 0.8.5)
6
6
  highline (~> 1.6.1)
7
7
  net-ssh (~> 2.1.0)
@@ -12,10 +12,11 @@ definition_dir= File.expand_path(File.join(veewee_dir, "definitions"))
12
12
  tmp_dir=File.expand_path(File.join(veewee_dir, "tmp"))
13
13
  iso_dir=File.expand_path(File.join(veewee_dir, "iso"))
14
14
  box_dir=File.expand_path(File.join(veewee_dir, "boxes"))
15
+ validation_dir=File.expand_path(File.join(veewee_dir, "validation"))
15
16
 
16
17
  #Initialize
17
18
  Veewee::Session.setenv({:veewee_dir => veewee_dir, :definition_dir => definition_dir,
18
- :template_dir => template_dir, :iso_dir => iso_dir, :box_dir => box_dir, :tmp_dir => tmp_dir})
19
+ :template_dir => template_dir, :iso_dir => iso_dir, :box_dir => box_dir, :tmp_dir => tmp_dir, :validation_dir => validation_dir})
19
20
 
20
21
  module Veewee
21
22
  class Command < Vagrant::Command::GroupBase
@@ -22,7 +22,7 @@ module Veewee
22
22
  @veewee_dir=env[:veewee_dir]
23
23
  @definition_dir=env[:definition_dir]
24
24
  @template_dir=env[:template_dir]
25
- @validation_dir=env[:veewee_dir] + 'validation'
25
+ @validation_dir=env[:validation_dir]
26
26
  @box_dir=env[:box_dir]
27
27
  @iso_dir=env[:iso_dir]
28
28
  @tmp_dir=env[:tmp_dir]
@@ -459,7 +459,7 @@ module Veewee
459
459
  end
460
460
 
461
461
  def self.create_vm(boxname,force=false)
462
-
462
+
463
463
  #Verifying the os.id with the :os_type_id specified
464
464
  matchfound=false
465
465
  VirtualBox::Global.global.lib.virtualbox.guest_os_types.collect { |os|
@@ -500,12 +500,6 @@ module Veewee
500
500
  #Exec and system stop the execution here
501
501
  Veewee::Shell.execute("#{command}")
502
502
 
503
-
504
- #Set a shared folder for validation
505
- if !File.exists?(@validation_dir)
506
- FileUtils.mkdir(File.expand_path(@validation_dir))
507
- end
508
-
509
503
  command="#{@vboxcmd} sharedfolder add '#{boxname}' --name 'veewee-validation' --hostpath '#{File.expand_path(@validation_dir)}' --automount"
510
504
 
511
505
  Veewee::Shell.execute("#{command}")
@@ -1,3 +1,3 @@
1
1
  module Veewee
2
- VERSION = "0.1.19"
2
+ VERSION = "0.1.20"
3
3
  end
@@ -64,6 +64,11 @@ cd /tmp
64
64
  /usr/bin/pkgtrans VirtualBox-4.0.6-SunOS-r71344.pkg . all
65
65
  yes|/usr/sbin/pkgadd -d . SUNWvbox
66
66
 
67
+ # Fix the shells to include the /opt/csw directories
68
+
69
+ echo "export PATH=/opt/csw/bin:/opt/csw/sbin/:$PATH" >> /root/.profile
70
+ echo "export PATH=/opt/csw/bin:/opt/csw/sbin/:$PATH" >> /export/home/vagrant/.profile
71
+
67
72
  exit
68
73
 
69
74
  #Inspiration for ruby enterprise
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: veewee
3
3
  version: !ruby/object:Gem::Version
4
- hash: 61
4
+ hash: 51
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 19
10
- version: 0.1.19
9
+ - 20
10
+ version: 0.1.20
11
11
  platform: ruby
12
12
  authors:
13
13
  - Patrick Debois
@@ -232,17 +232,17 @@ files:
232
232
  - templates/freebsd-8.2-pcbsd-i386/definition.rb
233
233
  - templates/freebsd-8.2-pcbsd-i386/pcinstall.fbg.cfg
234
234
  - templates/freebsd-8.2-pcbsd-i386/postinstall.sh
235
- - templates/solaris-11-express-i386-experimental/auto_install/ai.dtd
236
- - templates/solaris-11-express-i386-experimental/auto_install/ai_manifest.xml
237
- - templates/solaris-11-express-i386-experimental/auto_install/configuration.dtd
238
- - templates/solaris-11-express-i386-experimental/auto_install/default.xml
239
- - templates/solaris-11-express-i386-experimental/auto_install/default.xml.orig
240
- - templates/solaris-11-express-i386-experimental/auto_install/sc_profiles/static_network.xml
241
- - templates/solaris-11-express-i386-experimental/auto_install/software.dtd
242
- - templates/solaris-11-express-i386-experimental/auto_install/target.dtd
243
- - templates/solaris-11-express-i386-experimental/default.xml
244
- - templates/solaris-11-express-i386-experimental/definition.rb
245
- - templates/solaris-11-express-i386-experimental/postinstall.sh
235
+ - templates/solaris-11-express-i386/auto_install/ai.dtd
236
+ - templates/solaris-11-express-i386/auto_install/ai_manifest.xml
237
+ - templates/solaris-11-express-i386/auto_install/configuration.dtd
238
+ - templates/solaris-11-express-i386/auto_install/default.xml
239
+ - templates/solaris-11-express-i386/auto_install/default.xml.orig
240
+ - templates/solaris-11-express-i386/auto_install/sc_profiles/static_network.xml
241
+ - templates/solaris-11-express-i386/auto_install/software.dtd
242
+ - templates/solaris-11-express-i386/auto_install/target.dtd
243
+ - templates/solaris-11-express-i386/default.xml
244
+ - templates/solaris-11-express-i386/definition.rb
245
+ - templates/solaris-11-express-i386/postinstall.sh
246
246
  - templates/ubuntu-10.04.2-server-amd64/definition.rb
247
247
  - templates/ubuntu-10.04.2-server-amd64/postinstall.sh
248
248
  - templates/ubuntu-10.04.2-server-amd64/preseed.cfg