server_tools 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5ada90b9349cffe38e7e70527223bff3e1aeae00
4
- data.tar.gz: 6f095fc20aff6773d3da0c7e5143af63fc0a1272
3
+ metadata.gz: ea95c47f790cee88ddc18d55fa58b718aacc5ede
4
+ data.tar.gz: 6fb3ac5deb59ea004737c9fb3a1931300eec46d2
5
5
  SHA512:
6
- metadata.gz: dd466b318dfabf619fe132975141d2fc851e005d2e962451e72b08f34d5e01c43707e6fddc799b2ee4f4bb92b5c7c7bea11a210f30a78bb0d6c35ed17210171b
7
- data.tar.gz: 554a43a0725e5d783c94aee6d625d687712c7d56e0cdb8494d30984257e9ca8f1832428d5f9852edd677f39692865a99d5450aa2573c9df0fd88f6c8e54aaf1e
6
+ metadata.gz: 148eb411c1b0433e2179fd4b48c8844935cea1caedb2f7c08a9497375aa4a59fd95b92775cb809662459692b8fcaca9cba282409f6f27a4a9e656de2604ca91b
7
+ data.tar.gz: fe7eda9e396b5e5764afb5ec5f7806089086c2ae26864e9886bbfa155deafa707a36515ba8e0322283fb80aa3b19dcbf5b4493835cf724db3de35b864a6e3688
data/README.md CHANGED
@@ -1,4 +1,5 @@
1
1
  [![Build Status](https://travis-ci.org/decomplect-io/server_tools.svg?branch=master)](https://travis-ci.org/decomplect-io/server_tools)
2
+ [![Gem Version](https://badge.fury.io/rb/server_tools.svg)](http://badge.fury.io/rb/server_tools)
2
3
  # Server Tools
3
4
 
4
5
  A bunch of tools to provision (via Chef) and deploy packages to servers.
@@ -19,7 +19,7 @@ module ServerTools
19
19
  end
20
20
 
21
21
  def install_command
22
- ["ssh #{hostname}", "#{ssh_opts(options)}"].tap do |command|
22
+ ["ssh #{hostname}", "-t -t", "#{ssh_opts(options)}"].tap do |command|
23
23
  if options[:purge_older_version]
24
24
  command << "#{purge_command} && #{_install_command}"
25
25
  else
@@ -11,6 +11,7 @@ module ServerTools
11
11
  def command
12
12
  [
13
13
  "ssh #{hostname}",
14
+ "-t -t",
14
15
  "#{ssh_opts(options)}",
15
16
  "sudo /usr/bin/chef-client -o'#{options[:roles].join(',')}'"
16
17
  ].join(' ')
@@ -4,7 +4,6 @@ module SSH
4
4
  "-p #{options[:ssh_port]}",
5
5
  "-i #{options[:identity_file]}",
6
6
  "-l #{options[:ssh_user]}",
7
- "-t -t",
8
7
  "-o StrictHostKeyChecking=no",
9
8
  "-o UserKnownHostsFile=/dev/null"
10
9
  ].join(' ')
@@ -1,3 +1,3 @@
1
1
  module ServerTools
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: server_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Decomplect Software LLP