knife-brightbox 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +4 -2
- data/lib/chef/knife/brightbox_server_create.rb +3 -11
- data/lib/knife-brightbox/version.rb +1 -1
- metadata +6 -6
data/README.rdoc
CHANGED
@@ -6,9 +6,11 @@ This code is heavily based on the knife-rackspace plugin from Adam Jacob (<adam@
|
|
6
6
|
|
7
7
|
This is the unofficial Opscode Knife plugin for Brightbox Cloud. This plugin gives knife the ability to create, bootstrap, and manage servers on the Brightbox Cloud.
|
8
8
|
|
9
|
-
You'll need a Brightbox Cloud
|
9
|
+
You'll need a Brightbox Cloud account to use this plugin:
|
10
10
|
|
11
|
-
|
11
|
+
https://manage.brightbox.com/user/new
|
12
|
+
|
13
|
+
There is a tutorial showing you how to use the plugin here: http://blog.frameos.org/2011/08/17/bootstrapping-ubuntu-based-image-in-brightboxs-cloud-using-knife/
|
12
14
|
|
13
15
|
= INSTALLATION:
|
14
16
|
|
@@ -32,22 +32,14 @@ class Chef
|
|
32
32
|
Chef::Knife::Bootstrap.load_deps
|
33
33
|
end
|
34
34
|
|
35
|
-
FLAVORS = {
|
36
|
-
'nano' => 'typ-4nssg',
|
37
|
-
'mini' => 'typ-iqisj',
|
38
|
-
'small' => 'typ-urtky',
|
39
|
-
'medium' => 'typ-qdiwq',
|
40
|
-
'large' => 'typ-mlbt7',
|
41
|
-
}
|
42
|
-
|
43
35
|
banner "knife brightbox server create (options)"
|
44
36
|
|
45
37
|
option :flavor,
|
46
38
|
:short => "-f FLAVOR",
|
47
39
|
:long => "--flavor FLAVOR",
|
48
|
-
:description => "The flavor of server; default is NANO (512 MB
|
49
|
-
:proc => Proc.new { |f| Chef::Config[:knife][:flavor] = (
|
50
|
-
:default => '
|
40
|
+
:description => "The flavor of server; default is NANO (512 MB)",
|
41
|
+
:proc => Proc.new { |f| Chef::Config[:knife][:flavor] = (f || 'nano') },
|
42
|
+
:default => 'nano'
|
51
43
|
|
52
44
|
option :image,
|
53
45
|
:short => "-I IMAGE",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-brightbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
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:
|
12
|
+
date: 2012-01-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fog
|
16
|
-
requirement: &
|
16
|
+
requirement: &19169160 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0.8'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *19169160
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: chef
|
27
|
-
requirement: &
|
27
|
+
requirement: &19168580 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0.10'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *19168580
|
36
36
|
description: Brightbox Support for Chef's Knife Command
|
37
37
|
email:
|
38
38
|
- rubiojr@frameos.org
|