checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
---
2
2
SHA256:
3
- metadata.gz: b8ddb526a8ed011501d541da7e43bbc09444b7d46969723995cde44d8db84735
4
- data.tar.gz: a91c6ffb8182f41ce90233658193d1e59b6be06af6a009c08ae53dd508025d15
3
+ metadata.gz: aca553eff23abae1888ccc0fd766dca9c3604fc2547925333e69ca4b1e824e43
4
+ data.tar.gz: 5e6c70e44ab3a5bfaf19cf31a13719e242970ea6b739eff76ea6f6bea2f0eb92
5
5
SHA512:
6
- metadata.gz: d527293c76ba4e8e24310cc79a0b76ec8182b029f614f8e075835ec7c52eca809f02f5b587ecbf5aed88cbc29bfbb3f2c62b52a042c84bd421fbe9f6a1e24e80
7
- data.tar.gz: f762fa1adad5d4d4609340e30b99f20b65a3aadaeea8479302cc3cfa88a7363dcb6cdd3edafd5f167a4da81e4d940e3adaf167d57e7ccbe6706099d00e8569ce
6
+ metadata.gz: 8dee4870a9a4401c50aeac2a08e1ad69181fdd0f4573d8856860ad9600709d2caa6528895be8a5882ccc0d04b9a39db9f7cc791114afbe68344a2f5287d4cfbc
7
+ data.tar.gz: 1b1be331a08318dfe8ab2fe4a6c7262588112ea859dd041b52249c366a5f076a568a9855d34540a85f5d712c75f2c20fd428b13f38fd60477386b6d9d7e20056
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
PATH
2
2
remote: .
3
3
specs:
4
- clusterlb (0.1.25)
4
+ clusterlb (0.1.27)
5
5
aws-sdk (~> 3.0, >= 3.0.1)
6
6
colorize (~> 0.8.1)
7
7
console_table (~> 0.3.0)
data/exe/clusterlb-stectrl CHANGED
@@ -3,7 +3,6 @@ $LOAD_PATH << 'lib'
3
3
require 'clusterlb'
4
4
require 'colorize'
5
5
require 'getoptlong'
6
- require 'net/ssh'
7
6
8
7
9
8
include Clusterlb
data/lib/clusterlb.rb CHANGED
@@ -5,7 +5,7 @@ require 'colorize'
5
5
require 'inifile'
6
6
# require 'aws-sdk'
7
7
require 'fileutils'
8
- require 'net/ssh'
8
+ # require 'net/ssh'
9
9
10
10
11
11
@@ -127,7 +127,7 @@ module Clusterlb
127
127
128
128
129
129
def get_s3_cert(fqdn)
130
- require 'aws-sdk-s3
130
+ require 'aws-sdk-s3'
131
131
ensure_dir_exitsts
132
132
aws_config
133
133
certs_dir="#{ENV["CLUSTERLB_HOME"]}/#{config["clusterlb"]["certificates_dir"]}"
@@ -195,7 +195,7 @@ module Clusterlb
195
195
table_config.push( {:key=>node.to_sym, :size=>9, :title=>node, :justify=>:center})
196
196
end
197
197
ConsoleTable.define(table_config) do |table|
198
- Dir.glob("#{ENV["CLUSTERLB_HOME"]}/#{config["clusterlb"]["sites"]}/*").each do |full_path_file|
198
+ Dir.glob("#{ENV["CLUSTERLB_HOME"]}/#{config["clusterlb"]["sites"]}/*").map(&:reverse).sort.map(&:reverse).each do |full_path_file|
199
199
filename=full_path_file.split('/')[-1]
200
200
result={:site=>filename}
201
201
config["clusterlb"]["lb_nodes"].each do |node|
@@ -211,6 +211,7 @@ module Clusterlb
211
211
private
212
212
213
213
def go_ssh(hostname,cmd,username)
214
+ require 'net/ssh'
214
215
Net::SSH.start(hostname, username, :keys_only => true ) do |ssh|
215
216
puts ssh.exec!(cmd)
216
217
end
data/lib/clusterlb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
module Clusterlb
2
- VERSION = "0.1.25"
2
+ VERSION = "0.1.27"
3
3
end
data/omnibus/config/software/clusterlb-gem.rb CHANGED
@@ -1,5 +1,5 @@
1
- name "sensu-gem"
2
- default_version "0.1.24"
1
+ name "clusterlb-gem"
2
+ default_version "0.1.27"
3
3
4
4
dependency "ruby"
5
5
dependency "ncurses"
data/omnibus/config/software/oggcert-gem.rb CHANGED
@@ -1,5 +1,5 @@
1
1
name "oggcert-gem"
2
- default_version "0.1.1"
2
+ default_version "0.1.2"
3
3
4
4
dependency "ruby"
5
5
dependency "ncurses"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: clusterlb
3
3
version: !ruby/object:Gem::Version
4
- version: 0.1.25
4
+ version: 0.1.27
5
5
platform: ruby
6
6
authors:
7
7
- Dr. Ogg