smart_proxy_remote_execution_ssh 0.1.3 → 0.1.4

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: eca540ad2e4059e8a6610bdec44cc88eb6726463
4
- data.tar.gz: 7fcb56a7d6a4f807ef2683b85fa7f14841cd4abe
3
+ metadata.gz: c36c9075645ee5df967b07d261e9b647ba3cc41c
4
+ data.tar.gz: 18fa361681efa693d69a681eaad511256bea48f2
5
5
  SHA512:
6
- metadata.gz: 65a968c88dc3448261715b5f9d5b80f1b5508f462ca55191bea13c1284019edcb2c9a7cc62080d55a95b224dba3d776e00235fade1bb672396e66ecdea3b35b6
7
- data.tar.gz: c46d8f1f4c801303489dc8c9874444e9f28de7774f849de252dbbd54c299f5873036a87f8e19babaf4a56a6d9ccb2249dc995f1682d6b7a3b9f4b66f75fd8952
6
+ metadata.gz: 9ee6cfd0fb7f3bb10373aec8f83d092a316c4df826a86b911fb3e7ea81f57b52809740dc485144647c00213b328234a7616147edcc89ff1e7875df4bd3fe8771
7
+ data.tar.gz: 0b7dbecc88ed2bed09eccf472e6b905f3e2c58132c6f3f4f4db4d8b290b6c75b7aa394433c08a1185aeeedde82ea9ff20340d2b03e8efd70ce045a4d64361121
data/README.md CHANGED
@@ -13,8 +13,10 @@ This a plugin for foreman smart-proxy allowing using ssh for the
13
13
  Add this line to your smart proxy bundler.d/ssh.rb gemfile:
14
14
 
15
15
  ```ruby
16
- gem 'smart_proxy_dynflow', :git => 'https://github.com/iNecas/smart_proxy_dynflow.git'
17
- gem 'smart_proxy_ssh', :git => 'https://github.com/iNecas/smart_proxy_ssh.git'
16
+ gem 'smart_proxy_dynflow', :git => 'https://github.com/theforeman/smart_proxy_dynflow.git'
17
+ gem 'smart_proxy_dynflow_core', :git => 'https://github.com/theforeman/smart_proxy_dynflow.git'
18
+ gem 'foreman_remote_execution_core', :git => 'https://github.com/theforeman/foreman_remote_execution.git'
19
+ gem 'smart_proxy_remote_execution_ssh', :git => 'https://github.com/theforeman/smart_proxy_remote_execution_ssh.git'
18
20
  ```
19
21
 
20
22
  Enable the plugins in your smart proxy:
@@ -16,8 +16,12 @@ module Proxy::RemoteExecution::Ssh
16
16
  require 'smart_proxy_remote_execution_ssh/api'
17
17
 
18
18
  begin
19
- require 'smart_proxy_remote_execution_ssh_core'
20
- rescue LoadError
19
+ require 'smart_proxy_dynflow_core'
20
+ require 'foreman_remote_execution_core'
21
+ ForemanRemoteExecutionCore.initialize_settings(Proxy::RemoteExecution::Ssh::Plugin.settings.to_h)
22
+ rescue LoadError # rubocop:disable Lint/HandleExceptions
23
+ # Dynflow core is not available in the proxy, will be handled
24
+ # by standalone Dynflow core
21
25
  end
22
26
 
23
27
  Proxy::RemoteExecution::Ssh.validate!
@@ -1,7 +1,7 @@
1
1
  module Proxy
2
2
  module RemoteExecution
3
3
  module Ssh
4
- VERSION = '0.1.3'
4
+ VERSION = '0.1.4'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smart_proxy_remote_execution_ssh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Nečas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-18 00:00:00.000000000 Z
11
+ date: 2016-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -141,7 +141,6 @@ files:
141
141
  - lib/smart_proxy_remote_execution_ssh/plugin.rb
142
142
  - lib/smart_proxy_remote_execution_ssh/version.rb
143
143
  - settings.d/remote_execution_ssh.yml.example
144
- - settings.d/smart_proxy_remote_execution_ssh.yml.example
145
144
  homepage: https://github.com/theforeman/smart_proxy_remote_execution_ssh
146
145
  licenses:
147
146
  - GPLv3
@@ -1,5 +0,0 @@
1
- ---
2
- :enabled: true
3
- :ssh_identity_key_file: '~/.ssh/id_rsa_foreman_proxy'
4
- :local_working_dir: '/var/tmp'
5
- :remote_working_dir: '/var/tmp'