veewee 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. data/Gemfile +4 -0
  2. data/README.md +1 -1
  3. data/doc/definition.md +18 -0
  4. data/doc/kvm.md +28 -1
  5. data/doc/template.md +53 -2
  6. data/lib/veewee/command/fusion.rb +37 -3
  7. data/lib/veewee/command/vagrant/basebox.rb +2 -0
  8. data/lib/veewee/command/vagrant/winrm.rb +39 -0
  9. data/lib/veewee/command/vbox.rb +18 -0
  10. data/lib/veewee/definition.rb +13 -3
  11. data/lib/veewee/error.rb +3 -0
  12. data/lib/veewee/provider/core/box.rb +7 -0
  13. data/lib/veewee/provider/core/box/build.rb +34 -14
  14. data/lib/veewee/provider/core/box/copy.rb +17 -0
  15. data/lib/veewee/provider/core/box/exec.rb +31 -12
  16. data/lib/veewee/provider/core/box/floppy.rb +1 -0
  17. data/lib/veewee/provider/core/box/halt.rb +7 -3
  18. data/lib/veewee/provider/core/box/validate_tags.rb +8 -2
  19. data/lib/veewee/provider/core/box/wincp.rb +120 -0
  20. data/lib/veewee/provider/core/box/winrm.rb +59 -0
  21. data/lib/veewee/provider/core/helper/comm.rb +47 -0
  22. data/lib/veewee/provider/core/helper/web.rb +20 -9
  23. data/lib/veewee/provider/core/helper/winrm.rb +167 -0
  24. data/lib/veewee/provider/kvm/box/create.rb +59 -3
  25. data/lib/veewee/provider/kvm/provider.rb +6 -6
  26. data/lib/veewee/provider/parallels/box/helper/buildinfo.rb +1 -1
  27. data/lib/veewee/provider/virtualbox/box.rb +1 -0
  28. data/lib/veewee/provider/virtualbox/box/build.rb +4 -2
  29. data/lib/veewee/provider/virtualbox/box/create.rb +32 -12
  30. data/lib/veewee/provider/virtualbox/box/helper/buildinfo.rb +6 -3
  31. data/lib/veewee/provider/virtualbox/box/helper/create.rb +20 -5
  32. data/lib/veewee/provider/virtualbox/box/helper/winrm_options.rb +31 -0
  33. data/lib/veewee/provider/virtualbox/box/up.rb +33 -12
  34. data/lib/veewee/provider/virtualbox/box/winrm.rb +13 -0
  35. data/lib/veewee/provider/vmfusion/box.rb +2 -0
  36. data/lib/veewee/provider/vmfusion/box/add_share.rb +18 -0
  37. data/lib/veewee/provider/vmfusion/box/build.rb +3 -1
  38. data/lib/veewee/provider/vmfusion/box/create.rb +7 -2
  39. data/lib/veewee/provider/vmfusion/box/helper/buildinfo.rb +9 -6
  40. data/lib/veewee/provider/vmfusion/box/helper/ip.rb +1 -1
  41. data/lib/veewee/provider/vmfusion/box/helper/winrm_options.rb +21 -0
  42. data/lib/veewee/provider/vmfusion/box/template.rb +7 -3
  43. data/lib/veewee/provider/vmfusion/box/template.vmx.erb +6 -0
  44. data/lib/veewee/provider/vmfusion/box/winrm.rb +12 -0
  45. data/lib/veewee/provider/vmfusion/provider.rb +7 -1
  46. data/lib/veewee/version.rb +1 -1
  47. data/templates/CentOS-5.6-x86_64-netboot-packages/definition.rb +16 -0
  48. data/templates/CentOS-5.6-x86_64-netboot-packages/ks.cfg +47 -0
  49. data/templates/CentOS-5.6-x86_64-netboot-packages/postinstall.sh +61 -0
  50. data/templates/Debian-7.0-b3-amd64-netboot/base.sh +27 -0
  51. data/templates/Debian-7.0-b3-amd64-netboot/chef.sh +2 -0
  52. data/templates/Debian-7.0-b3-amd64-netboot/cleanup-virtualbox.sh +4 -0
  53. data/templates/Debian-7.0-b3-amd64-netboot/cleanup.sh +17 -0
  54. data/templates/Debian-7.0-b3-amd64-netboot/definition.rb +51 -0
  55. data/templates/Debian-7.0-b3-amd64-netboot/preseed.cfg +313 -0
  56. data/templates/Debian-7.0-b3-amd64-netboot/puppet.sh +2 -0
  57. data/templates/Debian-7.0-b3-amd64-netboot/ruby.sh +10 -0
  58. data/templates/Debian-7.0-b3-amd64-netboot/vagrant.sh +25 -0
  59. data/templates/Debian-7.0-b3-amd64-netboot/virtualbox.sh +13 -0
  60. data/templates/Debian-7.0-b3-amd64-netboot/zerodisk.sh +3 -0
  61. data/templates/Fedora-18-i386/definition.rb +17 -0
  62. data/templates/Fedora-18-i386/ks.cfg +75 -0
  63. data/templates/Fedora-18-i386/postinstall.sh +38 -0
  64. data/templates/Fedora-18-x86_64/definition.rb +17 -0
  65. data/templates/Fedora-18-x86_64/ks.cfg +75 -0
  66. data/templates/Fedora-18-x86_64/postinstall.sh +38 -0
  67. data/templates/OracleLinux-6.3-x86_64-DVD/base.sh +30 -0
  68. data/templates/OracleLinux-6.3-x86_64-DVD/chef.sh +3 -0
  69. data/templates/OracleLinux-6.3-x86_64-DVD/cleanup.sh +5 -0
  70. data/templates/OracleLinux-6.3-x86_64-DVD/definition.rb +40 -0
  71. data/templates/OracleLinux-6.3-x86_64-DVD/ks.cfg +42 -0
  72. data/templates/OracleLinux-6.3-x86_64-DVD/puppet.sh +12 -0
  73. data/templates/OracleLinux-6.3-x86_64-DVD/ruby.sh +3 -0
  74. data/templates/OracleLinux-6.3-x86_64-DVD/vagrant.sh +18 -0
  75. data/templates/OracleLinux-6.3-x86_64-DVD/virtualbox.sh +8 -0
  76. data/templates/OracleLinux-6.3-x86_64-DVD/zerodisk.sh +3 -0
  77. data/templates/funtoo-latest-x86_64/definition.rb +37 -0
  78. data/templates/funtoo-latest-x86_64/postinstall.sh +401 -0
  79. data/templates/openbsd50_amd64/definition.rb +3 -2
  80. data/templates/openbsd50_amd64/postinstall.sh +4 -4
  81. data/templates/openbsd50_i386/definition.rb +4 -4
  82. data/templates/openbsd52_amd64/README +28 -0
  83. data/templates/openbsd52_amd64/definition.rb +85 -0
  84. data/templates/openbsd52_amd64/postinstall.sh +81 -0
  85. data/templates/openbsd52_i386/README +28 -0
  86. data/templates/openbsd52_i386/definition.rb +85 -0
  87. data/templates/openbsd52_i386/postinstall.sh +81 -0
  88. data/templates/windows-2008R1-serverstandard-amd64/Autounattend.xml +6 -6
  89. data/templates/windows-2008R1-serverweb-amd64/install-winrm.bat +1 -1
  90. data/templates/windows-2008R2-serverstandard-amd64-winrm/Autounattend.xml +224 -0
  91. data/templates/windows-2008R2-serverstandard-amd64-winrm/README.md +87 -0
  92. data/templates/windows-2008R2-serverstandard-amd64-winrm/definition.rb +33 -0
  93. data/templates/windows-2008R2-serverstandard-amd64-winrm/install-chef.bat +2 -0
  94. data/templates/windows-2008R2-serverstandard-amd64-winrm/install-vbox.bat +4 -0
  95. data/templates/windows-2008R2-serverstandard-amd64-winrm/oracle-cert.cer +0 -0
  96. data/templates/windows-2008R2-serverstandard-amd64-winrm/postinstall.sh +74 -0
  97. data/templates/windows-7-enterprise-amd64-winrm/Autounattend.xml +227 -0
  98. data/templates/windows-7-enterprise-amd64-winrm/README.md +52 -0
  99. data/templates/windows-7-enterprise-amd64-winrm/definition.rb +27 -0
  100. data/templates/windows-7-enterprise-amd64-winrm/install-chef.bat +2 -0
  101. data/templates/windows-7-enterprise-amd64-winrm/install-fusion.bat +18 -0
  102. data/templates/windows-7-enterprise-amd64-winrm/install-puppet.bat +4 -0
  103. data/templates/windows-7-enterprise-amd64-winrm/install-vbox.bat +4 -0
  104. data/templates/windows-7-enterprise-amd64-winrm/oracle-cert.cer +0 -0
  105. data/templates/windows-7-enterprise-amd64-winrm/postinstall.bat +74 -0
  106. data/validation/veewee-windows.feature +34 -0
  107. data/veewee.gemspec +1 -1
  108. metadata +73 -7
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
22
22
  s.add_dependency "net-ssh", "~> 2.2.0"
23
23
 
24
24
  s.add_dependency "popen4", "~> 0.1.2"
25
- s.add_dependency "thor", "> 0.14"
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"
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.1
4
+ version: 0.3.2
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-10-22 00:00:00.000000000 Z
12
+ date: 2012-12-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: vagrant
@@ -64,17 +64,17 @@ dependencies:
64
64
  requirement: !ruby/object:Gem::Requirement
65
65
  none: false
66
66
  requirements:
67
- - - ! '>'
67
+ - - ~>
68
68
  - !ruby/object:Gem::Version
69
- version: '0.14'
69
+ version: '0.15'
70
70
  type: :runtime
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
- - - ! '>'
75
+ - - ~>
76
76
  - !ruby/object:Gem::Version
77
- version: '0.14'
77
+ version: '0.15'
78
78
  - !ruby/object:Gem::Dependency
79
79
  name: highline
80
80
  requirement: !ruby/object:Gem::Requirement
@@ -331,6 +331,7 @@ files:
331
331
  - lib/veewee/command/vagrant/undefine.rb
332
332
  - lib/veewee/command/vagrant/up.rb
333
333
  - lib/veewee/command/vagrant/validate.rb
334
+ - lib/veewee/command/vagrant/winrm.rb
334
335
  - lib/veewee/command/vbox.rb
335
336
  - lib/veewee/command/version.rb
336
337
  - lib/veewee/config.rb
@@ -346,6 +347,7 @@ files:
346
347
  - lib/veewee/error.rb
347
348
  - lib/veewee/provider/core/box.rb
348
349
  - lib/veewee/provider/core/box/build.rb
350
+ - lib/veewee/provider/core/box/copy.rb
349
351
  - lib/veewee/provider/core/box/exec.rb
350
352
  - lib/veewee/provider/core/box/floppy.rb
351
353
  - lib/veewee/provider/core/box/halt.rb
@@ -356,12 +358,16 @@ files:
356
358
  - lib/veewee/provider/core/box/sudo.rb
357
359
  - lib/veewee/provider/core/box/validate_tags.rb
358
360
  - lib/veewee/provider/core/box/vnc.rb
361
+ - lib/veewee/provider/core/box/wincp.rb
362
+ - lib/veewee/provider/core/box/winrm.rb
363
+ - lib/veewee/provider/core/helper/comm.rb
359
364
  - lib/veewee/provider/core/helper/iso.rb
360
365
  - lib/veewee/provider/core/helper/scancode.rb
361
366
  - lib/veewee/provider/core/helper/shell.rb
362
367
  - lib/veewee/provider/core/helper/ssh.rb
363
368
  - lib/veewee/provider/core/helper/tcp.rb
364
369
  - lib/veewee/provider/core/helper/web.rb
370
+ - lib/veewee/provider/core/helper/winrm.rb
365
371
  - lib/veewee/provider/core/provider.rb
366
372
  - lib/veewee/provider/core/provider/transaction.rb
367
373
  - lib/veewee/provider/core/provider/tunnel.rb
@@ -410,13 +416,16 @@ files:
410
416
  - lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
411
417
  - lib/veewee/provider/virtualbox/box/helper/status.rb
412
418
  - lib/veewee/provider/virtualbox/box/helper/version.rb
419
+ - lib/veewee/provider/virtualbox/box/helper/winrm_options.rb
413
420
  - lib/veewee/provider/virtualbox/box/poweroff.rb
414
421
  - lib/veewee/provider/virtualbox/box/screenshot.rb
415
422
  - lib/veewee/provider/virtualbox/box/ssh.rb
416
423
  - lib/veewee/provider/virtualbox/box/up.rb
417
424
  - lib/veewee/provider/virtualbox/box/validate_vagrant.rb
425
+ - lib/veewee/provider/virtualbox/box/winrm.rb
418
426
  - lib/veewee/provider/virtualbox/provider.rb
419
427
  - lib/veewee/provider/vmfusion/box.rb
428
+ - lib/veewee/provider/vmfusion/box/add_share.rb
420
429
  - lib/veewee/provider/vmfusion/box/build.rb
421
430
  - lib/veewee/provider/vmfusion/box/create.rb
422
431
  - lib/veewee/provider/vmfusion/box/destroy.rb
@@ -428,12 +437,14 @@ files:
428
437
  - lib/veewee/provider/vmfusion/box/helper/ssh_options.rb
429
438
  - lib/veewee/provider/vmfusion/box/helper/status.rb
430
439
  - lib/veewee/provider/vmfusion/box/helper/vnc.rb
440
+ - lib/veewee/provider/vmfusion/box/helper/winrm_options.rb
431
441
  - lib/veewee/provider/vmfusion/box/poweroff.rb
432
442
  - lib/veewee/provider/vmfusion/box/ssh.rb
433
443
  - lib/veewee/provider/vmfusion/box/template.rb
434
444
  - lib/veewee/provider/vmfusion/box/template.vmx.erb
435
445
  - lib/veewee/provider/vmfusion/box/up.rb
436
446
  - lib/veewee/provider/vmfusion/box/validate_vmfusion.rb
447
+ - lib/veewee/provider/vmfusion/box/winrm.rb
437
448
  - lib/veewee/provider/vmfusion/info/export_ovf.info
438
449
  - lib/veewee/provider/vmfusion/provider.rb
439
450
  - lib/veewee/providers.rb
@@ -457,6 +468,9 @@ files:
457
468
  - templates/CentOS-5.6-i386/definition.rb
458
469
  - templates/CentOS-5.6-i386/ks.cfg
459
470
  - templates/CentOS-5.6-i386/postinstall.sh
471
+ - templates/CentOS-5.6-x86_64-netboot-packages/definition.rb
472
+ - templates/CentOS-5.6-x86_64-netboot-packages/ks.cfg
473
+ - templates/CentOS-5.6-x86_64-netboot-packages/postinstall.sh
460
474
  - templates/CentOS-5.6-x86_64-netboot/definition.rb
461
475
  - templates/CentOS-5.6-x86_64-netboot/ks.cfg
462
476
  - templates/CentOS-5.6-x86_64-netboot/postinstall.sh
@@ -739,6 +753,17 @@ files:
739
753
  - templates/Debian-7.0-b2-i386-netboot/vagrant.sh
740
754
  - templates/Debian-7.0-b2-i386-netboot/virtualbox.sh
741
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
742
767
  - templates/Fedora-14-amd64-netboot/definition.rb
743
768
  - templates/Fedora-14-amd64-netboot/ks.cfg
744
769
  - templates/Fedora-14-amd64-netboot/postinstall.sh
@@ -778,6 +803,22 @@ files:
778
803
  - templates/Fedora-17-x86_64/definition.rb
779
804
  - templates/Fedora-17-x86_64/ks.cfg
780
805
  - templates/Fedora-17-x86_64/postinstall.sh
806
+ - templates/Fedora-18-i386/definition.rb
807
+ - templates/Fedora-18-i386/ks.cfg
808
+ - templates/Fedora-18-i386/postinstall.sh
809
+ - templates/Fedora-18-x86_64/definition.rb
810
+ - templates/Fedora-18-x86_64/ks.cfg
811
+ - templates/Fedora-18-x86_64/postinstall.sh
812
+ - templates/OracleLinux-6.3-x86_64-DVD/base.sh
813
+ - templates/OracleLinux-6.3-x86_64-DVD/chef.sh
814
+ - templates/OracleLinux-6.3-x86_64-DVD/cleanup.sh
815
+ - templates/OracleLinux-6.3-x86_64-DVD/definition.rb
816
+ - templates/OracleLinux-6.3-x86_64-DVD/ks.cfg
817
+ - templates/OracleLinux-6.3-x86_64-DVD/puppet.sh
818
+ - templates/OracleLinux-6.3-x86_64-DVD/ruby.sh
819
+ - templates/OracleLinux-6.3-x86_64-DVD/vagrant.sh
820
+ - templates/OracleLinux-6.3-x86_64-DVD/virtualbox.sh
821
+ - templates/OracleLinux-6.3-x86_64-DVD/zerodisk.sh
781
822
  - templates/SLES-11-SP1-DVD-i586-GM/autoinst_de.xml
782
823
  - templates/SLES-11-SP1-DVD-i586-GM/autoinst_en.xml
783
824
  - templates/SLES-11-SP1-DVD-i586-GM/definition.rb
@@ -816,6 +857,8 @@ files:
816
857
  - templates/funtoo-latest-generic_64-stable/definition.rb
817
858
  - templates/funtoo-latest-generic_64-stable/postinstall.sh
818
859
  - templates/funtoo-latest-generic_64-stable/postinstall2.sh
860
+ - templates/funtoo-latest-x86_64/definition.rb
861
+ - templates/funtoo-latest-x86_64/postinstall.sh
819
862
  - templates/gentoo-latest-i386-experimental/definition.rb
820
863
  - templates/gentoo-latest-i386-experimental/postinstall.sh
821
864
  - templates/gentoo-latest-x86_64-experimental/definition.rb
@@ -850,6 +893,12 @@ files:
850
893
  - templates/openbsd50_i386/README
851
894
  - templates/openbsd50_i386/definition.rb
852
895
  - templates/openbsd50_i386/postinstall.sh
896
+ - templates/openbsd52_amd64/README
897
+ - templates/openbsd52_amd64/definition.rb
898
+ - templates/openbsd52_amd64/postinstall.sh
899
+ - templates/openbsd52_i386/README
900
+ - templates/openbsd52_i386/definition.rb
901
+ - templates/openbsd52_i386/postinstall.sh
853
902
  - templates/openindiana-148-ai-x86/auto_install/ai.dtd
854
903
  - templates/openindiana-148-ai-x86/auto_install/ai_manifest.xml
855
904
  - templates/openindiana-148-ai-x86/auto_install/configuration.dtd
@@ -1098,6 +1147,13 @@ files:
1098
1147
  - templates/windows-2008R2-amd64/postinstall.sh
1099
1148
  - templates/windows-2008R2-amd64/win7/Autounattend.xml
1100
1149
  - templates/windows-2008R2-amd64/winrm.rb
1150
+ - templates/windows-2008R2-serverstandard-amd64-winrm/Autounattend.xml
1151
+ - templates/windows-2008R2-serverstandard-amd64-winrm/README.md
1152
+ - templates/windows-2008R2-serverstandard-amd64-winrm/definition.rb
1153
+ - templates/windows-2008R2-serverstandard-amd64-winrm/install-chef.bat
1154
+ - templates/windows-2008R2-serverstandard-amd64-winrm/install-vbox.bat
1155
+ - templates/windows-2008R2-serverstandard-amd64-winrm/oracle-cert.cer
1156
+ - templates/windows-2008R2-serverstandard-amd64-winrm/postinstall.sh
1101
1157
  - templates/windows-2008R2-serverstandard-amd64/Autounattend.xml
1102
1158
  - templates/windows-2008R2-serverstandard-amd64/README.md
1103
1159
  - templates/windows-2008R2-serverstandard-amd64/definition.rb
@@ -1122,6 +1178,15 @@ files:
1122
1178
  - templates/windows-2008R2-serverwebcore-amd64/install-winrm.bat
1123
1179
  - templates/windows-2008R2-serverwebcore-amd64/oracle-cert.cer
1124
1180
  - templates/windows-2008R2-serverwebcore-amd64/postinstall.sh
1181
+ - templates/windows-7-enterprise-amd64-winrm/Autounattend.xml
1182
+ - templates/windows-7-enterprise-amd64-winrm/README.md
1183
+ - templates/windows-7-enterprise-amd64-winrm/definition.rb
1184
+ - templates/windows-7-enterprise-amd64-winrm/install-chef.bat
1185
+ - templates/windows-7-enterprise-amd64-winrm/install-fusion.bat
1186
+ - templates/windows-7-enterprise-amd64-winrm/install-puppet.bat
1187
+ - templates/windows-7-enterprise-amd64-winrm/install-vbox.bat
1188
+ - templates/windows-7-enterprise-amd64-winrm/oracle-cert.cer
1189
+ - templates/windows-7-enterprise-amd64-winrm/postinstall.bat
1125
1190
  - templates/windows-7-enterprise-amd64/Autounattend.xml
1126
1191
  - templates/windows-7-enterprise-amd64/README.md
1127
1192
  - templates/windows-7-enterprise-amd64/definition.rb
@@ -1189,6 +1254,7 @@ files:
1189
1254
  - validation/support/env.rb
1190
1255
  - validation/vagrant-private.key
1191
1256
  - validation/vagrant.pub
1257
+ - validation/veewee-windows.feature
1192
1258
  - validation/veewee.feature
1193
1259
  - veewee.gemspec
1194
1260
  homepage: http://github.com/jedi4ever/veewee/
@@ -1205,7 +1271,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
1205
1271
  version: '0'
1206
1272
  segments:
1207
1273
  - 0
1208
- hash: -4075395840718759052
1274
+ hash: 1802147097597498635
1209
1275
  required_rubygems_version: !ruby/object:Gem::Requirement
1210
1276
  none: false
1211
1277
  requirements: