syncwrap 2.5.1 → 2.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.rdoc +19 -0
- data/Manifest.txt +6 -0
- data/README.rdoc +6 -5
- data/lib/syncwrap/amazon_ec2.rb +3 -12
- data/lib/syncwrap/base.rb +1 -1
- data/lib/syncwrap/cli.rb +10 -0
- data/lib/syncwrap/components/arch.rb +8 -1
- data/lib/syncwrap/components/commercial_jdk.rb +21 -6
- data/lib/syncwrap/components/cruby_vm.rb +30 -5
- data/lib/syncwrap/components/debian.rb +31 -7
- data/lib/syncwrap/components/hashdot.rb +30 -4
- data/lib/syncwrap/components/iyyov.rb +13 -7
- data/lib/syncwrap/components/jruby_vm.rb +29 -4
- data/lib/syncwrap/components/lvm_cache.rb +116 -0
- data/lib/syncwrap/components/mdraid.rb +0 -9
- data/lib/syncwrap/components/postgresql.rb +24 -1
- data/lib/syncwrap/components/puma.rb +41 -12
- data/lib/syncwrap/components/rhel.rb +24 -6
- data/lib/syncwrap/components/ubuntu.rb +1 -0
- data/lib/syncwrap/distro.rb +32 -4
- data/lib/syncwrap/hash_support.rb +64 -0
- data/lib/syncwrap/host.rb +8 -0
- data/lib/syncwrap/main.rb +5 -0
- data/lib/syncwrap/systemd.rb +43 -0
- data/lib/syncwrap/user_data.rb +40 -0
- data/lib/syncwrap.rb +22 -1
- data/sync/etc/systemd/system/iyyov.service.erb +16 -0
- data/sync/etc/systemd/system/puma.service.erb +13 -0
- data/test/test_components.rb +4 -0
- data/test/test_space.rb +1 -0
- metadata +8 -2
data/test/test_components.rb
CHANGED
@@ -62,6 +62,10 @@ module SyncWrap
|
|
62
62
|
[ CentOS, JRubyVM ],
|
63
63
|
[ RHEL, MDRaid, raw_devices: 1 ],
|
64
64
|
[ Debian, MDRaid, raw_devices: 2 ],
|
65
|
+
[ RHEL, MDRaid, { raw_devices: 1, lvm_volumes: [ [1.0, '/tlv' ] ] },
|
66
|
+
LVMCache, raw_device: '/dev/xvdb', lv_cache_target: 'tlv' ],
|
67
|
+
[ Debian, MDRaid, { raw_devices: 2, lvm_volumes: [ [1.0, '/tlv' ] ] },
|
68
|
+
LVMCache, raw_device: '/dev/xvdb', lv_cache_target: 'tlv' ],
|
65
69
|
[ Debian, Network ],
|
66
70
|
[ Ubuntu, Network ],
|
67
71
|
[ RHEL, Network ],
|
data/test/test_space.rb
CHANGED
@@ -106,6 +106,7 @@ class TestSpace < MiniTest::Unit::TestCase
|
|
106
106
|
c2b = CompTwo.new
|
107
107
|
host = sp.host( 'localhost', c1, :test, c2b )
|
108
108
|
assert_equal( [ c1, c2, c2b ], host.components )
|
109
|
+
assert_equal( [ c2 ], host.components_in_roles( [ :test ] ) )
|
109
110
|
assert_equal( c1, host.component( CompOne ) )
|
110
111
|
assert_equal( c2b, host.component( CompTwo ) ) #last instance
|
111
112
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: syncwrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Kellum
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: term-ansicolor
|
@@ -186,6 +186,7 @@ files:
|
|
186
186
|
- lib/syncwrap/components/iyyov.rb
|
187
187
|
- lib/syncwrap/components/iyyov_daemon.rb
|
188
188
|
- lib/syncwrap/components/jruby_vm.rb
|
189
|
+
- lib/syncwrap/components/lvm_cache.rb
|
189
190
|
- lib/syncwrap/components/mdraid.rb
|
190
191
|
- lib/syncwrap/components/network.rb
|
191
192
|
- lib/syncwrap/components/open_jdk.rb
|
@@ -203,12 +204,15 @@ files:
|
|
203
204
|
- lib/syncwrap/distro.rb
|
204
205
|
- lib/syncwrap/formatter.rb
|
205
206
|
- lib/syncwrap/git_help.rb
|
207
|
+
- lib/syncwrap/hash_support.rb
|
206
208
|
- lib/syncwrap/host.rb
|
207
209
|
- lib/syncwrap/main.rb
|
208
210
|
- lib/syncwrap/path_util.rb
|
209
211
|
- lib/syncwrap/rsync.rb
|
210
212
|
- lib/syncwrap/ruby_support.rb
|
211
213
|
- lib/syncwrap/shell.rb
|
214
|
+
- lib/syncwrap/systemd.rb
|
215
|
+
- lib/syncwrap/user_data.rb
|
212
216
|
- lib/syncwrap/version_support.rb
|
213
217
|
- sync/etc/corosync/corosync.conf
|
214
218
|
- sync/etc/corosync/uidgid.d/qpid
|
@@ -218,6 +222,8 @@ files:
|
|
218
222
|
- sync/etc/init.d/qpidd
|
219
223
|
- sync/etc/sysconfig/pgsql/postgresql.erb
|
220
224
|
- sync/etc/sysctl.d/61-postgresql-shm.conf.erb
|
225
|
+
- sync/etc/systemd/system/iyyov.service.erb
|
226
|
+
- sync/etc/systemd/system/puma.service.erb
|
221
227
|
- sync/jruby/bin/jgem
|
222
228
|
- sync/postgresql/environment
|
223
229
|
- sync/postgresql/pg_ctl.conf
|