knife-oca 1.0.1 → 1.0.2
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 +21 -10
- data/lib/knife-oca/version.rb +1 -1
- metadata +1 -1
data/README.rdoc
CHANGED
|
@@ -9,12 +9,13 @@ Knife plugin for OCA (OpenNebula Cloud API)
|
|
|
9
9
|
|
|
10
10
|
gem install oca net-scp
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
* Install patched fog
|
|
13
|
+
1. Clone the official <tt>fog</tt> gem source (and checkout version 1.5.0):
|
|
14
|
+
2. Checkout <tt>eaaf335870436499fe61c62fe42f44cd9e1584d0</tt> (it's a dev commit after 1.5.0 release, you might want to skip this step if you know what you are doing :) )
|
|
15
|
+
3. Install fog merged with my oca branch: <tt>https://github.com/Reverand221/fog/tree/oca</tt>
|
|
16
|
+
4. Pull my fog oca provider
|
|
17
|
+
5. Build the fog gem
|
|
18
|
+
6. Install the fog gem
|
|
18
19
|
|
|
19
20
|
git clone git://github.com/fog/fog.git
|
|
20
21
|
cd fog
|
|
@@ -24,12 +25,16 @@ Knife plugin for OCA (OpenNebula Cloud API)
|
|
|
24
25
|
gem build fog.gemspec
|
|
25
26
|
gem install fog-1.5.0.gem
|
|
26
27
|
|
|
28
|
+
== Status
|
|
29
|
+
|
|
30
|
+
This gem contains the minimal api support that I required for my personal task. It is far away from being complete. The same is true for my oca fog provider. I have no plans to support more features unless I need them myself or there is heavy demand.
|
|
31
|
+
|
|
27
32
|
== Assumptions
|
|
28
33
|
|
|
29
34
|
* You have a OpenNebula 3.2+ private cloud instance running and its XML-RPC endpoint visible from your workstation.
|
|
30
35
|
* You have two types of Virtual Machine Images prepared and uploaded to your OpenNebula cloud as templates:
|
|
31
|
-
|
|
32
|
-
|
|
36
|
+
* *chef-server*: A *nix installation with a chef server and a ssh daemon preinstalled and setup to start operation on VM boot.
|
|
37
|
+
* *naked*: Some basic *nix installation with a ssh daemon preinstalled and setup to start operation on VM boot.
|
|
33
38
|
* The VM IP Adresses have DNS names and are registered in the reverse domain.
|
|
34
39
|
|
|
35
40
|
== Installation
|
|
@@ -215,7 +220,7 @@ and with OpenNebula.
|
|
|
215
220
|
175 10.17.0.89 vm-0059.cloud.example.com runn 2 5632 debian64-6.0.5-chef-server-10.12
|
|
216
221
|
176 10.17.0.90 vm-005a.cloud.example.com runn 1 2816 debian64-6.0.5-naked
|
|
217
222
|
|
|
218
|
-
We might decide to delete a node eventually. <tt>--purge</tt> will delete the node also on the chef server
|
|
223
|
+
We might decide to delete a node eventually. <tt>--purge</tt> will delete the node also on the chef server:
|
|
219
224
|
|
|
220
225
|
> knife oca server delete 176 --purge -y
|
|
221
226
|
ID: 176
|
|
@@ -245,10 +250,16 @@ We might decide to delete a node eventually. <tt>--purge</tt> will delete the no
|
|
|
245
250
|
[knife oca template instantiate ID] <tt>--is-chef-server</tt> to not bootstrap and configure knife
|
|
246
251
|
<tt>--run-list</tt> to supply the initial run list
|
|
247
252
|
|
|
248
|
-
In-depth documentation of all the available options can be listed by appending
|
|
253
|
+
In-depth documentation of all the available options can be listed by appending <tt>--help</tt> to the above commands.
|
|
254
|
+
|
|
255
|
+
== Feedback
|
|
256
|
+
|
|
257
|
+
Pls contact me directly on any matter at <tt><d.klein@gsi.de></tt>.
|
|
249
258
|
|
|
250
259
|
== License
|
|
251
260
|
|
|
261
|
+
This knife-oca gem is based on the <tt>https://github.com/opscode/knife-ec2</tt> source.
|
|
262
|
+
|
|
252
263
|
# Author:: Dennis Klein (<d.klein@gsi.de>)
|
|
253
264
|
# Copyright:: Copyright (c) 2012 GSI Helmholtz Centre for Heavy Ion Research.
|
|
254
265
|
#
|
data/lib/knife-oca/version.rb
CHANGED