coral_vagrant 0.2.5 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bin/coral +1 -1
- data/coral_vagrant.gemspec +2 -2
- data/lib/coral_vagrant/commands/coral/create.rb +1 -1
- data/lib/coral_vagrant/commands/coral_base.rb +8 -8
- data/lib/coral_vagrant.rb +1 -0
- metadata +18 -18
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.8
|
data/bin/coral
CHANGED
data/coral_vagrant.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "coral_vagrant"
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.8"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Adrian Webb"]
|
12
|
-
s.date = "2013-
|
12
|
+
s.date = "2013-12-12"
|
13
13
|
s.description = "= coral_vagrant\n\nThis library contains various commands and exposes a data model to Vagrant\nthat allows for tightly integrated management of Virtual machines that are\nlinked to remote servers. \n\nThis also allows for custom execution plans.\n\nNote: This library is still very early in development!\n\n== Contributing to coral_vagrant\n \n* Check out the latest {major}.{minor} branch to make sure the feature hasn't \n been implemented or the bug hasn't been fixed yet.\n* Check out the issue tracker to make sure someone already hasn't requested \n it and/or contributed it.\n* Fork the project.\n* Start a feature/bugfix branch.\n* Commit and push until you are happy with your contribution.\n* Make sure to add tests for it. This is important so I don't break it in a \n future version unintentionally.\n* Please try not to mess with the Rakefile, version, or history. If you want \n to have your own version, or is otherwise necessary, that is fine, but \n please isolate to its own commit so I can cherry-pick around it.\n\n== Copyright\n\nLicensed under GPLv3. See LICENSE.txt for further details.\n\nCopyright (c) 2013 Adrian Webb <adrian.webb@coraltech.net>\nCoral Technology Group LLC"
|
14
14
|
s.email = "adrian.webb@coraltech.net"
|
15
15
|
s.executables = ["coral"]
|
@@ -7,7 +7,7 @@ module Coral
|
|
7
7
|
# Constructor / Destructor
|
8
8
|
|
9
9
|
def initialize(argv, env)
|
10
|
-
super
|
10
|
+
super(argv, env)
|
11
11
|
|
12
12
|
@main_args, @sub_command, @sub_args = split_main_and_subcommand(argv)
|
13
13
|
|
@@ -24,7 +24,7 @@ module Coral
|
|
24
24
|
#
|
25
25
|
# * calls: coral init
|
26
26
|
#
|
27
|
-
|
27
|
+
#@subcommands.register(:create) { Coral::Vagrant::SubCommand::CoralCreate }
|
28
28
|
|
29
29
|
#
|
30
30
|
# coral add --repo={repository} {name} [ {type} ]
|
@@ -33,7 +33,7 @@ module Coral
|
|
33
33
|
# {type} -> Defaults to module (can be: cluster, profile, module)
|
34
34
|
# {repository} -> Defaults to a new template repository of {type}
|
35
35
|
#
|
36
|
-
|
36
|
+
#@subcommands.register(:add) { Coral::Vagrant::SubCommand::CoralAdd }
|
37
37
|
|
38
38
|
#
|
39
39
|
# coral rm {name} [ {type} ]
|
@@ -41,7 +41,7 @@ module Coral
|
|
41
41
|
# {name} -> Name of the project (required)
|
42
42
|
# {type} -> Defaults to module (can be: cluster, profile, module)
|
43
43
|
#
|
44
|
-
|
44
|
+
#@subcommands.register(:rm) { Coral::Vagrant::SubCommand::CoralRemove }
|
45
45
|
|
46
46
|
#------------------------------
|
47
47
|
# Configuration / Deployment
|
@@ -53,7 +53,7 @@ module Coral
|
|
53
53
|
# {value} -> Configuration value (if we are setting the configuration)
|
54
54
|
# {config_dir} -> Root directory of configuration files (default: config)
|
55
55
|
#
|
56
|
-
|
56
|
+
#subcommands.register(:config) { Coral::Vagrant::SubCommand::CoralConfig }
|
57
57
|
|
58
58
|
#
|
59
59
|
# coral push --repos={repository_name},... [ {server_name} ... ]
|
@@ -71,7 +71,7 @@ module Coral
|
|
71
71
|
# * calls: coral init
|
72
72
|
# coral image
|
73
73
|
#
|
74
|
-
|
74
|
+
#@subcommands.register(:send) { Coral::Vagrant::SubCommand::CoralSend }
|
75
75
|
|
76
76
|
#
|
77
77
|
# coral image --servers={server_name},... {provider} ...
|
@@ -79,7 +79,7 @@ module Coral
|
|
79
79
|
# {provider} -> Remote cloud provider on which to create the image
|
80
80
|
# {server_name} -> Server name of a cluster server to create an image of
|
81
81
|
#
|
82
|
-
|
82
|
+
#@subcommands.register(:image) { Coral::Vagrant::SubCommand::CoralImage }
|
83
83
|
|
84
84
|
#--------------
|
85
85
|
# Management
|
@@ -106,7 +106,7 @@ module Coral
|
|
106
106
|
#
|
107
107
|
# * could call anything
|
108
108
|
#
|
109
|
-
|
109
|
+
#@subcommands.register(:run) { Coral::Vagrant::SubCommand::CoralRun }
|
110
110
|
end
|
111
111
|
|
112
112
|
#-----------------------------------------------------------------------------
|
data/lib/coral_vagrant.rb
CHANGED
@@ -57,6 +57,7 @@ module Coral
|
|
57
57
|
|
58
58
|
#-----------------------------------------------------------------------------
|
59
59
|
# Constructor / Destructor
|
60
|
+
|
60
61
|
def self.init(directory, submodule = '', config_file = [ 'config', 'cloud.json' ])
|
61
62
|
return Coral.create_cloud(:vagrant, {
|
62
63
|
:directory => directory,
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coral_vagrant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.8
|
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: 2013-
|
12
|
+
date: 2013-12-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: coral_plan
|
16
|
-
requirement: &
|
16
|
+
requirement: &14909160 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0.1'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *14909160
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: coral_cloud
|
27
|
-
requirement: &
|
27
|
+
requirement: &14903360 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0.1'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *14903360
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: bundler
|
38
|
-
requirement: &
|
38
|
+
requirement: &14902580 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '1.2'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *14902580
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: jeweler
|
49
|
-
requirement: &
|
49
|
+
requirement: &14901720 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '1.8'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *14901720
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: rspec
|
60
|
-
requirement: &
|
60
|
+
requirement: &14900780 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '2.10'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *14900780
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rdoc
|
71
|
-
requirement: &
|
71
|
+
requirement: &14900000 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '3.12'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *14900000
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: yard
|
82
|
-
requirement: &
|
82
|
+
requirement: &14898980 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ~>
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: '0.8'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *14898980
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: vagrant
|
93
|
-
requirement: &
|
93
|
+
requirement: &14897660 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ! '>='
|
@@ -98,7 +98,7 @@ dependencies:
|
|
98
98
|
version: '0'
|
99
99
|
type: :development
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *14897660
|
102
102
|
description: ! "= coral_vagrant\n\nThis library contains various commands and exposes
|
103
103
|
a data model to Vagrant\nthat allows for tightly integrated management of Virtual
|
104
104
|
machines that are\nlinked to remote servers. \n\nThis also allows for custom execution
|