coral_vagrant 0.2.8 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 43be476b1724ee0a2d8e62fd1cea34cf462ccc5c
4
+ data.tar.gz: 6448232fcb02c294691621d815751d784ab0180d
5
+ SHA512:
6
+ metadata.gz: 1e68e9e5d6f6705a125ea9b6bc7535146657819860587a08c3889811bc72e6f8c167855565d1a9111017036543393f88d00d0560dd8211e1539d49d8b7d7e529
7
+ data.tar.gz: 31c8502822354e457f59ad19065bae7d67d7c4fd593fc3f6bf9ab9d5d93f8b51e139d747bd1d23739f52e9064a44f5d5a3f8a1e8947a72b96200f897468b7ba5
data/Gemfile CHANGED
@@ -1,5 +1,6 @@
1
1
  source "http://rubygems.org"
2
2
 
3
+ gem "vagrant", "~> 1.0"
3
4
  gem "coral_plan", "~> 0.1"
4
5
  gem "coral_cloud", "~> 0.1"
5
6
 
@@ -9,5 +10,4 @@ group :development do
9
10
  gem "rspec", "~> 2.10"
10
11
  gem "rdoc", "~> 3.12"
11
12
  gem "yard", "~> 0.8"
12
- gem "vagrant", :git => "git://github.com/mitchellh/vagrant.git", :tag => 'v1.2.2'
13
13
  end
data/Gemfile.lock CHANGED
@@ -1,32 +1,17 @@
1
- GIT
2
- remote: git://github.com/mitchellh/vagrant.git
3
- revision: 7e400d00a3c5a0fdf2809c8b5001a035415a607b
4
- tag: v1.2.2
5
- specs:
6
- vagrant (1.2.2)
7
- childprocess (~> 0.3.7)
8
- erubis (~> 2.7.0)
9
- i18n (~> 0.6.0)
10
- json (>= 1.5.1, < 1.8.0)
11
- log4r (~> 1.1.9)
12
- net-scp (~> 1.1.0)
13
- net-ssh (~> 2.6.6)
14
-
15
1
  GEM
16
2
  remote: http://rubygems.org/
17
3
  specs:
4
+ archive-tar-minitar (0.5.2)
18
5
  childprocess (0.3.9)
19
6
  ffi (~> 1.0, >= 1.0.11)
20
7
  coral_cloud (0.1.3)
21
8
  coral_core (~> 0.1)
22
- coral_core (0.2.26)
23
- deep_merge (~> 1.0)
9
+ coral_core (0.1.10)
24
10
  git (= 1.2.5)
25
11
  json (>= 1.4)
26
12
  log4r (~> 1.1)
27
13
  coral_plan (0.1.3)
28
14
  coral_core (~> 0.1)
29
- deep_merge (1.0.0)
30
15
  diff-lcs (1.2.4)
31
16
  erubis (2.7.0)
32
17
  ffi (1.8.1)
@@ -39,9 +24,9 @@ GEM
39
24
  rdoc
40
25
  json (1.7.7)
41
26
  log4r (1.1.10)
42
- net-scp (1.1.1)
43
- net-ssh (>= 2.6.5)
44
- net-ssh (2.6.7)
27
+ net-scp (1.0.4)
28
+ net-ssh (>= 1.99.1)
29
+ net-ssh (2.2.2)
45
30
  rake (10.0.4)
46
31
  rdoc (3.12.2)
47
32
  json (~> 1.4)
@@ -53,6 +38,15 @@ GEM
53
38
  rspec-expectations (2.13.0)
54
39
  diff-lcs (>= 1.1.3, < 2.0)
55
40
  rspec-mocks (2.13.1)
41
+ vagrant (1.0.7)
42
+ archive-tar-minitar (= 0.5.2)
43
+ childprocess (~> 0.3.1)
44
+ erubis (~> 2.7.0)
45
+ i18n (~> 0.6.0)
46
+ json (>= 1.5.1, < 1.8.0)
47
+ log4r (~> 1.1.9)
48
+ net-scp (~> 1.0.4)
49
+ net-ssh (~> 2.2.2)
56
50
  yard (0.8.6.1)
57
51
 
58
52
  PLATFORMS
@@ -65,5 +59,5 @@ DEPENDENCIES
65
59
  jeweler (~> 1.8)
66
60
  rdoc (~> 3.12)
67
61
  rspec (~> 2.10)
68
- vagrant!
62
+ vagrant (~> 1.0)
69
63
  yard (~> 0.8)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.8
1
+ 0.1.5
@@ -8,11 +8,9 @@
8
8
  # => "config" directory should be a submodule with a JSON configuration repository.
9
9
  #
10
10
 
11
- Vagrant.require_plugin 'coral_vagrant'
11
+ require 'coral_vagrant'
12
12
 
13
- #---
14
-
15
- Vagrant.configure("2") do |config|
13
+ Vagrant::Config.run do |config|
16
14
 
17
15
  #-----------------------------------------------------------------------------
18
16
  # Server definitions (managed by ./config/cloud.json)
@@ -24,11 +22,11 @@ Vagrant.configure("2") do |config|
24
22
  # Basic server settings
25
23
  machine.vm.host_name = server.hostname
26
24
 
27
- machine.vm.box = cloud.search(server_name, 'vm_box')
28
- machine.vm.box_url = cloud.search(server_name, 'vm_box_url')
25
+ machine.vm.box = cloud.get('vm_box')
26
+ machine.vm.box_url = cloud.get('vm_box_url')
29
27
 
30
28
  # Network interfaces
31
- if cloud.search(server_name, 'vm_network_bridged', false, :test)
29
+ if cloud.get('vm_network_bridged', false, :test)
32
30
  machine.vm.network :bridged
33
31
  else
34
32
  machine.vm.network :hostonly, server.public_ip
@@ -5,18 +5,14 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "coral_vagrant"
8
- s.version = "0.2.8"
8
+ s.version = "0.4.0"
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-12"
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
- s.email = "adrian.webb@coraltech.net"
15
- s.executables = ["coral"]
16
- s.extra_rdoc_files = [
17
- "LICENSE.txt",
18
- "README.rdoc"
19
- ]
12
+ s.date = "2015-02-15"
13
+ s.description = "This gem has been depreciated in favor of corl (https://github.com/coralnexus/corl). Do not use. No further development."
14
+ s.email = "adrian.webb@coraltechgroup.com"
15
+ s.extra_rdoc_files = []
20
16
  s.files = [
21
17
  ".document",
22
18
  "Gemfile",
@@ -25,66 +21,28 @@ Gem::Specification.new do |s|
25
21
  "README.rdoc",
26
22
  "Rakefile",
27
23
  "VERSION",
28
- "bin/coral",
29
- "coral_vagrant.gemspec",
30
- "example/Vagrantfile",
31
- "example/cloud.json",
32
- "lib/coral_vagrant.rb",
33
- "lib/coral_vagrant/commands/coral/add.rb",
34
- "lib/coral_vagrant/commands/coral/config.rb",
35
- "lib/coral_vagrant/commands/coral/create.rb",
36
- "lib/coral_vagrant/commands/coral/image.rb",
37
- "lib/coral_vagrant/commands/coral/init.rb",
38
- "lib/coral_vagrant/commands/coral/push.rb",
39
- "lib/coral_vagrant/commands/coral/rm.rb",
40
- "lib/coral_vagrant/commands/coral/run.rb",
41
- "lib/coral_vagrant/commands/coral/send.rb",
42
- "lib/coral_vagrant/commands/coral/update.rb",
43
- "lib/coral_vagrant/commands/coral_base.rb",
44
- "lib/plugin.rb",
45
- "spec/coral_test_kernel.rb",
46
- "spec/spec_helper.rb"
24
+ "Vagrantfile",
25
+ "coral_vagrant.gemspec"
47
26
  ]
48
- s.homepage = "http://github.com/coraltech/ruby-coral_vagrant"
27
+ s.homepage = ""
49
28
  s.licenses = ["GPLv3"]
50
29
  s.rdoc_options = ["--title", "Coral Vagrant library", "--main", "README.rdoc", "--line-numbers"]
51
30
  s.require_paths = ["lib"]
52
31
  s.required_ruby_version = Gem::Requirement.new(">= 1.8.1")
53
32
  s.rubyforge_project = "coral_vagrant"
54
- s.rubygems_version = "1.8.11"
55
- s.summary = "Provides a data model and various Coral commands for Vagrant"
33
+ s.rubygems_version = "1.8.15"
34
+ s.summary = "This gem has been depreciated in favor of corl (https://github.com/coralnexus/corl). Do not use. No further development."
56
35
 
57
36
  if s.respond_to? :specification_version then
58
37
  s.specification_version = 3
59
38
 
60
39
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
61
- s.add_runtime_dependency(%q<coral_plan>, ["~> 0.1"])
62
- s.add_runtime_dependency(%q<coral_cloud>, ["~> 0.1"])
63
- s.add_development_dependency(%q<bundler>, ["~> 1.2"])
64
- s.add_development_dependency(%q<jeweler>, ["~> 1.8"])
65
- s.add_development_dependency(%q<rspec>, ["~> 2.10"])
66
- s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
67
- s.add_development_dependency(%q<yard>, ["~> 0.8"])
68
- s.add_development_dependency(%q<vagrant>, [">= 0"])
40
+
69
41
  else
70
- s.add_dependency(%q<coral_plan>, ["~> 0.1"])
71
- s.add_dependency(%q<coral_cloud>, ["~> 0.1"])
72
- s.add_dependency(%q<bundler>, ["~> 1.2"])
73
- s.add_dependency(%q<jeweler>, ["~> 1.8"])
74
- s.add_dependency(%q<rspec>, ["~> 2.10"])
75
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
76
- s.add_dependency(%q<yard>, ["~> 0.8"])
77
- s.add_dependency(%q<vagrant>, [">= 0"])
42
+
78
43
  end
79
44
  else
80
- s.add_dependency(%q<coral_plan>, ["~> 0.1"])
81
- s.add_dependency(%q<coral_cloud>, ["~> 0.1"])
82
- s.add_dependency(%q<bundler>, ["~> 1.2"])
83
- s.add_dependency(%q<jeweler>, ["~> 1.8"])
84
- s.add_dependency(%q<rspec>, ["~> 2.10"])
85
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
86
- s.add_dependency(%q<yard>, ["~> 0.8"])
87
- s.add_dependency(%q<vagrant>, [">= 0"])
45
+
88
46
  end
89
47
  end
90
48
 
metadata CHANGED
@@ -1,182 +1,59 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coral_vagrant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
5
- prerelease:
4
+ version: 0.4.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Adrian Webb
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-12-12 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: coral_plan
16
- requirement: &14909160 !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ~>
20
- - !ruby/object:Gem::Version
21
- version: '0.1'
22
- type: :runtime
23
- prerelease: false
24
- version_requirements: *14909160
25
- - !ruby/object:Gem::Dependency
26
- name: coral_cloud
27
- requirement: &14903360 !ruby/object:Gem::Requirement
28
- none: false
29
- requirements:
30
- - - ~>
31
- - !ruby/object:Gem::Version
32
- version: '0.1'
33
- type: :runtime
34
- prerelease: false
35
- version_requirements: *14903360
36
- - !ruby/object:Gem::Dependency
37
- name: bundler
38
- requirement: &14902580 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
41
- - - ~>
42
- - !ruby/object:Gem::Version
43
- version: '1.2'
44
- type: :development
45
- prerelease: false
46
- version_requirements: *14902580
47
- - !ruby/object:Gem::Dependency
48
- name: jeweler
49
- requirement: &14901720 !ruby/object:Gem::Requirement
50
- none: false
51
- requirements:
52
- - - ~>
53
- - !ruby/object:Gem::Version
54
- version: '1.8'
55
- type: :development
56
- prerelease: false
57
- version_requirements: *14901720
58
- - !ruby/object:Gem::Dependency
59
- name: rspec
60
- requirement: &14900780 !ruby/object:Gem::Requirement
61
- none: false
62
- requirements:
63
- - - ~>
64
- - !ruby/object:Gem::Version
65
- version: '2.10'
66
- type: :development
67
- prerelease: false
68
- version_requirements: *14900780
69
- - !ruby/object:Gem::Dependency
70
- name: rdoc
71
- requirement: &14900000 !ruby/object:Gem::Requirement
72
- none: false
73
- requirements:
74
- - - ~>
75
- - !ruby/object:Gem::Version
76
- version: '3.12'
77
- type: :development
78
- prerelease: false
79
- version_requirements: *14900000
80
- - !ruby/object:Gem::Dependency
81
- name: yard
82
- requirement: &14898980 !ruby/object:Gem::Requirement
83
- none: false
84
- requirements:
85
- - - ~>
86
- - !ruby/object:Gem::Version
87
- version: '0.8'
88
- type: :development
89
- prerelease: false
90
- version_requirements: *14898980
91
- - !ruby/object:Gem::Dependency
92
- name: vagrant
93
- requirement: &14897660 !ruby/object:Gem::Requirement
94
- none: false
95
- requirements:
96
- - - ! '>='
97
- - !ruby/object:Gem::Version
98
- version: '0'
99
- type: :development
100
- prerelease: false
101
- version_requirements: *14897660
102
- description: ! "= coral_vagrant\n\nThis library contains various commands and exposes
103
- a data model to Vagrant\nthat allows for tightly integrated management of Virtual
104
- machines that are\nlinked to remote servers. \n\nThis also allows for custom execution
105
- plans.\n\nNote: This library is still very early in development!\n\n== Contributing
106
- to coral_vagrant\n \n* Check out the latest {major}.{minor} branch to make sure
107
- the feature hasn't \n been implemented or the bug hasn't been fixed yet.\n* Check
108
- out the issue tracker to make sure someone already hasn't requested \n it and/or
109
- contributed it.\n* Fork the project.\n* Start a feature/bugfix branch.\n* Commit
110
- and push until you are happy with your contribution.\n* Make sure to add tests for
111
- it. This is important so I don't break it in a \n future version unintentionally.\n*
112
- Please try not to mess with the Rakefile, version, or history. If you want \n to
113
- have your own version, or is otherwise necessary, that is fine, but \n please isolate
114
- to its own commit so I can cherry-pick around it.\n\n== Copyright\n\nLicensed under
115
- GPLv3. See LICENSE.txt for further details.\n\nCopyright (c) 2013 Adrian Webb
116
- <adrian.webb@coraltech.net>\nCoral Technology Group LLC"
117
- email: adrian.webb@coraltech.net
118
- executables:
119
- - coral
11
+ date: 2015-02-15 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: This gem has been depreciated in favor of corl (https://github.com/coralnexus/corl). Do
14
+ not use. No further development.
15
+ email: adrian.webb@coraltechgroup.com
16
+ executables: []
120
17
  extensions: []
121
- extra_rdoc_files:
122
- - LICENSE.txt
123
- - README.rdoc
18
+ extra_rdoc_files: []
124
19
  files:
125
- - .document
20
+ - ".document"
126
21
  - Gemfile
127
22
  - Gemfile.lock
128
23
  - LICENSE.txt
129
24
  - README.rdoc
130
25
  - Rakefile
131
26
  - VERSION
132
- - bin/coral
27
+ - Vagrantfile
133
28
  - coral_vagrant.gemspec
134
- - example/Vagrantfile
135
- - example/cloud.json
136
- - lib/coral_vagrant.rb
137
- - lib/coral_vagrant/commands/coral/add.rb
138
- - lib/coral_vagrant/commands/coral/config.rb
139
- - lib/coral_vagrant/commands/coral/create.rb
140
- - lib/coral_vagrant/commands/coral/image.rb
141
- - lib/coral_vagrant/commands/coral/init.rb
142
- - lib/coral_vagrant/commands/coral/push.rb
143
- - lib/coral_vagrant/commands/coral/rm.rb
144
- - lib/coral_vagrant/commands/coral/run.rb
145
- - lib/coral_vagrant/commands/coral/send.rb
146
- - lib/coral_vagrant/commands/coral/update.rb
147
- - lib/coral_vagrant/commands/coral_base.rb
148
- - lib/plugin.rb
149
- - spec/coral_test_kernel.rb
150
- - spec/spec_helper.rb
151
- homepage: http://github.com/coraltech/ruby-coral_vagrant
29
+ homepage: ''
152
30
  licenses:
153
31
  - GPLv3
32
+ metadata: {}
154
33
  post_install_message:
155
34
  rdoc_options:
156
- - --title
35
+ - "--title"
157
36
  - Coral Vagrant library
158
- - --main
37
+ - "--main"
159
38
  - README.rdoc
160
- - --line-numbers
39
+ - "--line-numbers"
161
40
  require_paths:
162
41
  - lib
163
42
  required_ruby_version: !ruby/object:Gem::Requirement
164
- none: false
165
43
  requirements:
166
- - - ! '>='
44
+ - - ">="
167
45
  - !ruby/object:Gem::Version
168
46
  version: 1.8.1
169
47
  required_rubygems_version: !ruby/object:Gem::Requirement
170
- none: false
171
48
  requirements:
172
- - - ! '>='
49
+ - - ">="
173
50
  - !ruby/object:Gem::Version
174
51
  version: '0'
175
52
  requirements: []
176
53
  rubyforge_project: coral_vagrant
177
- rubygems_version: 1.8.11
54
+ rubygems_version: 2.4.5
178
55
  signing_key:
179
56
  specification_version: 3
180
- summary: Provides a data model and various Coral commands for Vagrant
57
+ summary: This gem has been depreciated in favor of corl (https://github.com/coralnexus/corl). Do
58
+ not use. No further development.
181
59
  test_files: []
182
- has_rdoc:
data/bin/coral DELETED
@@ -1,11 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- params = ARGV.collect do |param|
4
- if param.match(/^\-\-?/)
5
- param
6
- else
7
- "'#{param}'"
8
- end
9
- end
10
-
11
- system("vagrant coral " + params.join(' '))
data/example/cloud.json DELETED
@@ -1,50 +0,0 @@
1
- {
2
- "repositories" : {
3
- "." : "cluster.git"
4
- },
5
- "puppet_manifest_path" : "puppet",
6
- "puppet_manifest_file" : "site.pp",
7
- "puppet_module_path" : [ "modules" ],
8
- "settings" : {
9
- "core" : {
10
- "virtual_ip" : "172.4.4.4",
11
- "virtual_hostname" : "base.loc"
12
- },
13
- "vagrant" : {
14
- "vm_network_bridged" : "false",
15
- "vm_box" : "precise64",
16
- "vm_box_url" : "http://files.vagrantup.com/precise64.box",
17
- "vm_cpus" : "1",
18
- "vm_memory" : "512",
19
- "facts" : {
20
- "server_location" : "vagrant",
21
- "server_environment" : "development"
22
- },
23
- "shares" : [ "puppet_reports", "puppet_graphs", "coral_properties" ]
24
- },
25
- "debug" : {
26
- "puppet_options" : [ "--debug", "--verbose" ]
27
- }
28
- },
29
- "shares" : {
30
- "puppet_reports" : {
31
- "local_dir" : "share/log/puppet",
32
- "remote_dir" : "/var/log/puppet/reports"
33
- },
34
- "puppet_graphs" : {
35
- "local_dir" : "share/log/puppet/graphs",
36
- "remote_dir" : "/var/lib/puppet/state/graphs"
37
- },
38
- "coral_properties" : {
39
- "local_dir" : "share/log/coral",
40
- "remote_dir" : "/var/log/coral"
41
- }
42
- },
43
- "servers" : {
44
- "core" : {
45
- "hostname" : "server.loc",
46
- "public_ip" : "172.0.0.10",
47
- "settings" : [ "core", "vagrant" ]
48
- }
49
- }
50
- }