knife-esx 0.1.0 → 0.1.1
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/README.rdoc +1 -1
- data/features/esx.feature +1 -1
- data/lib/chef/knife/esx_base.rb +0 -2
- data/lib/chef/knife/esx_vm_create.rb +3 -3
- data/lib/chef/knife/esx_vm_delete.rb +2 -2
- data/lib/chef/knife/esx_vm_list.rb +2 -2
- data/lib/knife-esx/version.rb +1 -1
- metadata +8 -8
data/README.rdoc
CHANGED
@@ -6,7 +6,7 @@ This is the unofficial Opscode Knife plugin for ESX. This plugin gives knife the
|
|
6
6
|
|
7
7
|
You'll need an ESX(i)4/5 host with SSH enabled and a privileged user account to connect to it via SSH:
|
8
8
|
|
9
|
-
You'll also need a base VM template (a VMDK in fact) with CentOS/Ubuntu/Fedora
|
9
|
+
You'll also need a base VM template (a VMDK in fact) with CentOS/Ubuntu/Fedora and vmware-tools installed.
|
10
10
|
|
11
11
|
http://github.com/rubiojr/knife-esx
|
12
12
|
|
data/features/esx.feature
CHANGED
@@ -56,7 +56,7 @@ Feature: knife esx
|
|
56
56
|
|
57
57
|
@announce
|
58
58
|
Scenario: Success bootstraping VM
|
59
|
-
When I run `knife esx vm create --template-file /home/rubiojr/.chef/bootstrap/ubuntu11.10-gems.erb --vm-disk /home/rubiojr/tmp/ubuntu1110-x64-vmware-tools.vmdk --vm-name knife-esx-test-ubuntu --esx-host esx-test-host --esx-password temporal --datastore datastore1 --no-host-key-verify`
|
59
|
+
When I run `knife esx vm create --template-file /home/rubiojr/.chef/bootstrap/ubuntu11.10-gems.erb --vm-disk /home/rubiojr/tmp/ubuntu1110-x64-vmware-tools.vmdk --vm-name knife-esx-test-ubuntu --esx-host esx-test-host --esx-password temporal --datastore datastore1 --ssh-user ubuntu --ssh-password ubuntu --no-host-key-verify`
|
60
60
|
Then the output should contain "Done!"
|
61
61
|
|
62
62
|
Scenario: List virtual machine
|
data/lib/chef/knife/esx_base.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
|
-
# Author::
|
3
|
-
# Copyright:: Copyright (c)
|
2
|
+
# Author:: Sergio Rubio (<rubiojr@frameos.org>)
|
3
|
+
# Copyright:: Copyright (c) 2011, Sergio Rubio
|
4
4
|
# License:: Apache License, Version 2.0
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -16,7 +16,7 @@
|
|
16
16
|
# limitations under the License.
|
17
17
|
#
|
18
18
|
|
19
|
-
require 'chef/knife/
|
19
|
+
require 'chef/knife/esx_base'
|
20
20
|
|
21
21
|
class Chef
|
22
22
|
class Knife
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
|
-
# Author::
|
3
|
-
# Copyright:: Copyright (c)
|
2
|
+
# Author:: Sergio Rubio (<rubiojr@frameos.org>)
|
3
|
+
# Copyright:: Copyright (c) 2011 Sergio Rubio
|
4
4
|
# License:: Apache License, Version 2.0
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
|
-
# Author::
|
3
|
-
# Copyright:: Copyright (c)
|
2
|
+
# Author:: Sergio Rubio (<rubiojr@frameos.org>)
|
3
|
+
# Copyright:: Copyright (c) 2011 Sergio Rubio
|
4
4
|
# License:: Apache License, Version 2.0
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
data/lib/knife-esx/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-esx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
12
|
+
date: 2011-11-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: esx
|
16
|
-
requirement: &
|
16
|
+
requirement: &18198700 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0.2'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *18198700
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: terminal-table
|
27
|
-
requirement: &
|
27
|
+
requirement: &18197160 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *18197160
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: chef
|
38
|
-
requirement: &
|
38
|
+
requirement: &18196000 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '0.10'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *18196000
|
47
47
|
description: ESX Support for Chef's Knife Command
|
48
48
|
email:
|
49
49
|
- rubiojr@frameos.org
|