veewee 0.3.6 → 0.3.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. data/README.md +1 -1
  2. data/Rakefile +23 -23
  3. data/bin/veewee +1 -1
  4. data/doc/kvm.md +58 -9
  5. data/doc/providers.md +2 -2
  6. data/doc/vagrant.md +1 -1
  7. data/lib/vagrant_init.rb +0 -1
  8. data/lib/veewee/cli.rb +1 -1
  9. data/lib/veewee/command.rb +2 -2
  10. data/lib/veewee/command/fusion.rb +2 -2
  11. data/lib/veewee/command/kvm.rb +1 -1
  12. data/lib/veewee/command/parallels.rb +2 -2
  13. data/lib/veewee/command/vagrant/define.rb +1 -1
  14. data/lib/veewee/command/vagrant/undefine.rb +1 -1
  15. data/lib/veewee/command/vbox.rb +2 -2
  16. data/lib/veewee/config.rb +8 -10
  17. data/lib/veewee/definition.rb +41 -41
  18. data/lib/veewee/definitions.rb +27 -30
  19. data/lib/veewee/environment.rb +16 -16
  20. data/lib/veewee/error.rb +18 -15
  21. data/lib/veewee/provider/core/box/build.rb +1 -1
  22. data/lib/veewee/provider/kvm/box.rb +1 -6
  23. data/lib/veewee/provider/kvm/box/validate_kvm.rb +1 -1
  24. data/lib/veewee/provider/kvm/provider.rb +19 -32
  25. data/lib/veewee/provider/virtualbox/box/helper/create.rb +5 -1
  26. data/lib/veewee/providers.rb +22 -21
  27. data/lib/veewee/template.rb +9 -9
  28. data/lib/veewee/templates.rb +14 -15
  29. data/lib/veewee/ui.rb +7 -7
  30. data/lib/veewee/version.rb +1 -1
  31. data/templates/CentOS-6.3-i386-minimal/base.sh +1 -1
  32. data/templates/CentOS-6.3-i386-minimal/definition.rb +13 -4
  33. data/templates/CentOS-6.3-i386-minimal/ks.cfg +50 -14
  34. data/templates/CentOS-6.3-i386-minimal/virtualbox.sh +3 -3
  35. data/templates/CentOS-6.3-x86_64-minimal/base.sh +1 -1
  36. data/templates/CentOS-6.3-x86_64-netboot/base.sh +14 -0
  37. data/templates/CentOS-6.3-x86_64-netboot/chef.sh +3 -0
  38. data/templates/CentOS-6.3-x86_64-netboot/cleanup.sh +5 -0
  39. data/templates/CentOS-6.3-x86_64-netboot/definition.rb +40 -0
  40. data/templates/CentOS-6.3-x86_64-netboot/ks.cfg +41 -0
  41. data/templates/CentOS-6.3-x86_64-netboot/puppet.sh +12 -0
  42. data/templates/CentOS-6.3-x86_64-netboot/ruby.sh +3 -0
  43. data/templates/CentOS-6.3-x86_64-netboot/vagrant.sh +18 -0
  44. data/templates/CentOS-6.3-x86_64-netboot/virtualbox.sh +8 -0
  45. data/templates/{Debian-7.0-b2-i386-netboot → CentOS-6.3-x86_64-netboot}/zerodisk.sh +0 -0
  46. data/templates/{Debian-7.0-b2-i386-netboot → Debian-7.0-b4-amd64-netboot}/base.sh +2 -3
  47. data/templates/{Debian-7.0-b2-i386-netboot → Debian-7.0-b4-amd64-netboot}/chef.sh +0 -0
  48. data/templates/{Debian-7.0-b2-i386-netboot → Debian-7.0-b4-amd64-netboot}/cleanup-virtualbox.sh +0 -0
  49. data/templates/{Debian-7.0-b2-i386-netboot → Debian-7.0-b4-amd64-netboot}/cleanup.sh +0 -0
  50. data/templates/{Debian-7.0-b3-amd64-netboot → Debian-7.0-b4-amd64-netboot}/definition.rb +3 -3
  51. data/templates/{Debian-7.0-b3-amd64-netboot → Debian-7.0-b4-amd64-netboot}/preseed.cfg +0 -0
  52. data/templates/{Debian-7.0-b2-i386-netboot → Debian-7.0-b4-amd64-netboot}/puppet.sh +0 -0
  53. data/templates/{Debian-7.0-b2-i386-netboot → Debian-7.0-b4-amd64-netboot}/ruby.sh +0 -0
  54. data/templates/{Debian-7.0-b2-i386-netboot → Debian-7.0-b4-amd64-netboot}/vagrant.sh +0 -0
  55. data/templates/{Debian-7.0-b2-i386-netboot → Debian-7.0-b4-amd64-netboot}/virtualbox.sh +0 -0
  56. data/templates/{Debian-7.0-b3-amd64-netboot → Debian-7.0-b4-amd64-netboot}/zerodisk.sh +0 -0
  57. data/templates/{Debian-7.0-b3-amd64-netboot → Debian-7.0-b4-i386-netboot}/base.sh +2 -3
  58. data/templates/{Debian-7.0-b3-amd64-netboot → Debian-7.0-b4-i386-netboot}/chef.sh +0 -0
  59. data/templates/{Debian-7.0-b3-amd64-netboot → Debian-7.0-b4-i386-netboot}/cleanup-virtualbox.sh +0 -0
  60. data/templates/{Debian-7.0-b3-amd64-netboot → Debian-7.0-b4-i386-netboot}/cleanup.sh +0 -0
  61. data/templates/{Debian-7.0-b2-i386-netboot → Debian-7.0-b4-i386-netboot}/definition.rb +3 -3
  62. data/templates/{Debian-7.0-b2-i386-netboot → Debian-7.0-b4-i386-netboot}/preseed.cfg +0 -0
  63. data/templates/{Debian-7.0-b3-amd64-netboot → Debian-7.0-b4-i386-netboot}/puppet.sh +0 -0
  64. data/templates/{Debian-7.0-b3-amd64-netboot → Debian-7.0-b4-i386-netboot}/ruby.sh +0 -0
  65. data/templates/{Debian-7.0-b3-amd64-netboot → Debian-7.0-b4-i386-netboot}/vagrant.sh +0 -0
  66. data/templates/{Debian-7.0-b3-amd64-netboot → Debian-7.0-b4-i386-netboot}/virtualbox.sh +0 -0
  67. data/templates/Debian-7.0-b4-i386-netboot/zerodisk.sh +3 -0
  68. data/templates/Fedora-18-i386/definition.rb +6 -6
  69. data/templates/Fedora-18-i386/postinstall.sh +3 -1
  70. data/templates/Fedora-18-x86_64/definition.rb +5 -5
  71. data/templates/Fedora-18-x86_64/postinstall.sh +6 -1
  72. data/templates/ubuntu-12.04.1-server-amd64-packages/postinstall.sh +4 -5
  73. data/templates/ubuntu-12.04.1-server-amd64/postinstall.sh +4 -5
  74. data/templates/ubuntu-8.04.4-server-amd64/postinstall.sh +6 -6
  75. data/templates/ubuntu-8.04.4-server-i386/postinstall.sh +6 -6
  76. data/templates/windows-8-amd64/Autounattend.xml +140 -0
  77. data/templates/windows-8-amd64/README.md +134 -0
  78. data/templates/windows-8-amd64/cygwin-setup.exe +0 -0
  79. data/templates/windows-8-amd64/definition.rb +101 -0
  80. data/templates/windows-8-amd64/install-cygwin-sshd.bat +38 -0
  81. data/templates/windows-8-amd64/install-winrm.bat +11 -0
  82. data/templates/windows-8-amd64/oracle-cert.cer +0 -0
  83. data/templates/windows-8-amd64/postinstall.sh +122 -0
  84. data/templates/windows-8-amd64/winrm.rb +8 -0
  85. data/templates/windows-8-i386/Autounattend.xml +140 -0
  86. data/templates/windows-8-i386/README.md +134 -0
  87. data/templates/windows-8-i386/cygwin-setup.exe +0 -0
  88. data/templates/windows-8-i386/definition.rb +101 -0
  89. data/templates/windows-8-i386/install-cygwin-sshd.bat +38 -0
  90. data/templates/windows-8-i386/install-winrm.bat +11 -0
  91. data/templates/windows-8-i386/oracle-cert.cer +0 -0
  92. data/templates/windows-8-i386/postinstall.sh +122 -0
  93. data/templates/windows-8-i386/winrm.rb +8 -0
  94. data/test/build_realtest.rb +4 -4
  95. data/veewee.gemspec +8 -9
  96. metadata +55 -27
data/veewee.gemspec CHANGED
@@ -5,7 +5,7 @@ Gem::Specification.new do |s|
5
5
  s.name = "veewee"
6
6
  s.version = Veewee::VERSION
7
7
  s.platform = Gem::Platform::RUBY
8
- s.authors = ["Patrick Debois" ]
8
+ s.authors = ["Patrick Debois"]
9
9
  s.email = ["patrick.debois@jedi.be"]
10
10
  s.homepage = "http://github.com/jedi4ever/veewee/"
11
11
  s.summary = %q{Vagrant box creation}
@@ -14,22 +14,22 @@ Gem::Specification.new do |s|
14
14
  s.required_rubygems_version = ">= 1.3.6"
15
15
  s.rubyforge_project = "veewee"
16
16
 
17
- s.add_dependency "vagrant", ">= 0.9"
17
+ s.add_dependency "vagrant", ">= 0.9"
18
18
 
19
19
  # Currently locked to 2.2.0
20
20
  # if specifying to >= 2.2.0 it would use 2.3 and bundler would go in a resolver loop
21
21
  # DEBUG_RESOLVER=1 bundle install
22
- s.add_dependency "net-ssh", "~> 2.2.0"
22
+ s.add_dependency "net-ssh", "~> 2.2.0"
23
23
 
24
- s.add_dependency "popen4", "~> 0.1.2"
25
- s.add_dependency "thor", "~> 0.15"
24
+ s.add_dependency "popen4", "~> 0.1.2"
25
+ s.add_dependency "thor", "~> 0.15"
26
26
  s.add_dependency "highline"
27
27
  s.add_dependency "progressbar"
28
28
  s.add_dependency "i18n"
29
29
  s.add_dependency "cucumber", ">=1.0.0"
30
30
  s.add_dependency "ansi", "~> 1.3.0"
31
31
  s.add_dependency "ruby-vnc", "~> 1.0.0"
32
- s.add_dependency "fog", "~> 1.4"
32
+ s.add_dependency "fog", "~> 1.8"
33
33
  s.add_dependency "childprocess"
34
34
  s.add_dependency "grit"
35
35
  s.add_dependency "fission", "0.4.0"
@@ -39,13 +39,12 @@ Gem::Specification.new do |s|
39
39
  # See : https://github.com/jedi4ever/veewee/issues/6
40
40
  #s.add_dependency "CFPropertyList", ">= 2.1.1"
41
41
  # s.add_dependency "libvirt"
42
- s.add_dependency "rspec", "~> 2.5"
42
+ s.add_dependency "rspec", "~> 2.5"
43
43
 
44
44
  s.add_development_dependency "bundler", ">= 1.0.0"
45
45
  #s.add_development_dependency('ruby-libvirt','~>0.4.0')
46
46
 
47
47
  s.files = `git ls-files`.split("\n")
48
- s.executables = `git ls-files`.split("\n").map{ |f| f =~ /^bin\/(.*)/ ? $1 : nil }.compact
48
+ s.executables = `git ls-files`.split("\n").map { |f| f =~ /^bin\/(.*)/ ? $1 : nil }.compact
49
49
  s.require_path = 'lib'
50
50
  end
51
-
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: veewee
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-12 00:00:00.000000000 Z
12
+ date: 2013-01-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: vagrant
@@ -178,7 +178,7 @@ dependencies:
178
178
  requirements:
179
179
  - - ~>
180
180
  - !ruby/object:Gem::Version
181
- version: '1.4'
181
+ version: '1.8'
182
182
  type: :runtime
183
183
  prerelease: false
184
184
  version_requirements: !ruby/object:Gem::Requirement
@@ -186,7 +186,7 @@ dependencies:
186
186
  requirements:
187
187
  - - ~>
188
188
  - !ruby/object:Gem::Version
189
- version: '1.4'
189
+ version: '1.8'
190
190
  - !ruby/object:Gem::Dependency
191
191
  name: childprocess
192
192
  requirement: !ruby/object:Gem::Requirement
@@ -612,6 +612,16 @@ files:
612
612
  - templates/CentOS-6.3-x86_64-minimal/vagrant.sh
613
613
  - templates/CentOS-6.3-x86_64-minimal/virtualbox.sh
614
614
  - templates/CentOS-6.3-x86_64-minimal/zerodisk.sh
615
+ - templates/CentOS-6.3-x86_64-netboot/base.sh
616
+ - templates/CentOS-6.3-x86_64-netboot/chef.sh
617
+ - templates/CentOS-6.3-x86_64-netboot/cleanup.sh
618
+ - templates/CentOS-6.3-x86_64-netboot/definition.rb
619
+ - templates/CentOS-6.3-x86_64-netboot/ks.cfg
620
+ - templates/CentOS-6.3-x86_64-netboot/puppet.sh
621
+ - templates/CentOS-6.3-x86_64-netboot/ruby.sh
622
+ - templates/CentOS-6.3-x86_64-netboot/vagrant.sh
623
+ - templates/CentOS-6.3-x86_64-netboot/virtualbox.sh
624
+ - templates/CentOS-6.3-x86_64-netboot/zerodisk.sh
615
625
  - templates/Debian-5.0.10-amd64-netboot/base.sh
616
626
  - templates/Debian-5.0.10-amd64-netboot/chef.sh
617
627
  - templates/Debian-5.0.10-amd64-netboot/cleanup.sh
@@ -742,28 +752,28 @@ files:
742
752
  - templates/Debian-6.0.6-i386-netboot/vagrant.sh
743
753
  - templates/Debian-6.0.6-i386-netboot/virtualbox.sh
744
754
  - templates/Debian-6.0.6-i386-netboot/zerodisk.sh
745
- - templates/Debian-7.0-b2-i386-netboot/base.sh
746
- - templates/Debian-7.0-b2-i386-netboot/chef.sh
747
- - templates/Debian-7.0-b2-i386-netboot/cleanup-virtualbox.sh
748
- - templates/Debian-7.0-b2-i386-netboot/cleanup.sh
749
- - templates/Debian-7.0-b2-i386-netboot/definition.rb
750
- - templates/Debian-7.0-b2-i386-netboot/preseed.cfg
751
- - templates/Debian-7.0-b2-i386-netboot/puppet.sh
752
- - templates/Debian-7.0-b2-i386-netboot/ruby.sh
753
- - templates/Debian-7.0-b2-i386-netboot/vagrant.sh
754
- - templates/Debian-7.0-b2-i386-netboot/virtualbox.sh
755
- - templates/Debian-7.0-b2-i386-netboot/zerodisk.sh
756
- - templates/Debian-7.0-b3-amd64-netboot/base.sh
757
- - templates/Debian-7.0-b3-amd64-netboot/chef.sh
758
- - templates/Debian-7.0-b3-amd64-netboot/cleanup-virtualbox.sh
759
- - templates/Debian-7.0-b3-amd64-netboot/cleanup.sh
760
- - templates/Debian-7.0-b3-amd64-netboot/definition.rb
761
- - templates/Debian-7.0-b3-amd64-netboot/preseed.cfg
762
- - templates/Debian-7.0-b3-amd64-netboot/puppet.sh
763
- - templates/Debian-7.0-b3-amd64-netboot/ruby.sh
764
- - templates/Debian-7.0-b3-amd64-netboot/vagrant.sh
765
- - templates/Debian-7.0-b3-amd64-netboot/virtualbox.sh
766
- - templates/Debian-7.0-b3-amd64-netboot/zerodisk.sh
755
+ - templates/Debian-7.0-b4-amd64-netboot/base.sh
756
+ - templates/Debian-7.0-b4-amd64-netboot/chef.sh
757
+ - templates/Debian-7.0-b4-amd64-netboot/cleanup-virtualbox.sh
758
+ - templates/Debian-7.0-b4-amd64-netboot/cleanup.sh
759
+ - templates/Debian-7.0-b4-amd64-netboot/definition.rb
760
+ - templates/Debian-7.0-b4-amd64-netboot/preseed.cfg
761
+ - templates/Debian-7.0-b4-amd64-netboot/puppet.sh
762
+ - templates/Debian-7.0-b4-amd64-netboot/ruby.sh
763
+ - templates/Debian-7.0-b4-amd64-netboot/vagrant.sh
764
+ - templates/Debian-7.0-b4-amd64-netboot/virtualbox.sh
765
+ - templates/Debian-7.0-b4-amd64-netboot/zerodisk.sh
766
+ - templates/Debian-7.0-b4-i386-netboot/base.sh
767
+ - templates/Debian-7.0-b4-i386-netboot/chef.sh
768
+ - templates/Debian-7.0-b4-i386-netboot/cleanup-virtualbox.sh
769
+ - templates/Debian-7.0-b4-i386-netboot/cleanup.sh
770
+ - templates/Debian-7.0-b4-i386-netboot/definition.rb
771
+ - templates/Debian-7.0-b4-i386-netboot/preseed.cfg
772
+ - templates/Debian-7.0-b4-i386-netboot/puppet.sh
773
+ - templates/Debian-7.0-b4-i386-netboot/ruby.sh
774
+ - templates/Debian-7.0-b4-i386-netboot/vagrant.sh
775
+ - templates/Debian-7.0-b4-i386-netboot/virtualbox.sh
776
+ - templates/Debian-7.0-b4-i386-netboot/zerodisk.sh
767
777
  - templates/Fedora-14-amd64-netboot/definition.rb
768
778
  - templates/Fedora-14-amd64-netboot/ks.cfg
769
779
  - templates/Fedora-14-amd64-netboot/postinstall.sh
@@ -1231,6 +1241,24 @@ files:
1231
1241
  - templates/windows-7sp1-ultimate-amd64/install-winrm.bat
1232
1242
  - templates/windows-7sp1-ultimate-amd64/oracle-cert.cer
1233
1243
  - templates/windows-7sp1-ultimate-amd64/postinstall.sh
1244
+ - templates/windows-8-amd64/Autounattend.xml
1245
+ - templates/windows-8-amd64/README.md
1246
+ - templates/windows-8-amd64/cygwin-setup.exe
1247
+ - templates/windows-8-amd64/definition.rb
1248
+ - templates/windows-8-amd64/install-cygwin-sshd.bat
1249
+ - templates/windows-8-amd64/install-winrm.bat
1250
+ - templates/windows-8-amd64/oracle-cert.cer
1251
+ - templates/windows-8-amd64/postinstall.sh
1252
+ - templates/windows-8-amd64/winrm.rb
1253
+ - templates/windows-8-i386/Autounattend.xml
1254
+ - templates/windows-8-i386/README.md
1255
+ - templates/windows-8-i386/cygwin-setup.exe
1256
+ - templates/windows-8-i386/definition.rb
1257
+ - templates/windows-8-i386/install-cygwin-sshd.bat
1258
+ - templates/windows-8-i386/install-winrm.bat
1259
+ - templates/windows-8-i386/oracle-cert.cer
1260
+ - templates/windows-8-i386/postinstall.sh
1261
+ - templates/windows-8-i386/winrm.rb
1234
1262
  - templates/windows-8-preview-amd64/Autounattend.xml
1235
1263
  - templates/windows-8-preview-amd64/README.md
1236
1264
  - templates/windows-8-preview-amd64/cygwin-setup.exe
@@ -1271,7 +1299,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
1271
1299
  version: '0'
1272
1300
  segments:
1273
1301
  - 0
1274
- hash: -971087462415518129
1302
+ hash: -2565315994437241006
1275
1303
  required_rubygems_version: !ruby/object:Gem::Requirement
1276
1304
  none: false
1277
1305
  requirements: