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.
@@ -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 (Beta) account to use this plugin:
9
+ You'll need a Brightbox Cloud account to use this plugin:
10
10
 
11
- http://beta.brightbox.com/beta
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, typ-4nssg)",
49
- :proc => Proc.new { |f| Chef::Config[:knife][:flavor] = (FLAVORS[f] || 'typ-4nssg') },
50
- :default => 'typ-4nssg'
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",
@@ -1,6 +1,6 @@
1
1
  module Knife
2
2
  module Brightbox
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
4
4
  MAJOR, MINOR, TINY = VERSION.split('.')
5
5
  end
6
6
  end
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.5
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: 2011-10-20 00:00:00.000000000 Z
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: &7506720 !ruby/object:Gem::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: *7506720
24
+ version_requirements: *19169160
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: chef
27
- requirement: &7505620 !ruby/object:Gem::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: *7505620
35
+ version_requirements: *19168580
36
36
  description: Brightbox Support for Chef's Knife Command
37
37
  email:
38
38
  - rubiojr@frameos.org