cem_acpt 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c9526e4b417c867511e5d9c6ffe4ba78d826df1ab62a119c716c51e3ee435c7
4
- data.tar.gz: 1ff8eb2952649b6e8d8543f8387c01d45db742572542116b1fd409a5908c0a9b
3
+ metadata.gz: a727f17ebb1ca0b67caa2380338d4e0f4c51b97f30833d0ff2def0b0d6679688
4
+ data.tar.gz: 6395e670075384a22f2935882ba999ad950065933d94d30f6b9cf5095f9a07dd
5
5
  SHA512:
6
- metadata.gz: efbce7fcd14347831829087444f9f37968e953dc507720a12d946c2f7bebde8d724b23b658f0274c1ecc392252ed23067d31199715ea01d73beb7b19a021d9ec
7
- data.tar.gz: 329b184d58d4681c19102d4b75514ab60f93e20f95d4b4d3eeee15dcc821a1ca9e13019fca2fe0cf47b4ac2ebf78a64108eacb9999bd7028f4c25b59452117da
6
+ metadata.gz: 3ad2d225b4d57f3d0e8b60c4539c8f3a0680fb390a4a56d04ce4f4f694a1f377832782c2e20ddf7d99e8814a029eb61713c6c64d6dd35f9628ac21cde3c1efb8
7
+ data.tar.gz: 704d7fac67463d27db15e9d32999de5166e9c4769e8b8c28f3fb26a28e61a8e7e94aca5ba0ef42b1e9095766bd5b39f4edc4ec96786ff508038f51d03f0f20ff
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cem_acpt (0.2.2)
4
+ cem_acpt (0.2.3)
5
5
  concurrent-ruby (~> 1.1.9)
6
6
  deep_merge (~> 1.2.2)
7
7
  net-ssh (~> 7.0.0.beta1)
@@ -82,10 +82,12 @@ module CemAcpt
82
82
  # SSH-related utilities
83
83
  module SSH
84
84
  def self.ssh_keygen
85
- bin_path = `command -v ssh-keygen`.chomp
85
+ bin_path = `#{ENV['SHELL']} -c 'command -v ssh-keygen'`.chomp
86
86
  raise 'Cannot find ssh-keygen! Install it and verify PATH' unless bin_path
87
87
 
88
88
  bin_path
89
+ rescue StandardError => e
90
+ raise "Cannot find ssh-keygen! Install it and verify PATH. Orignal error: #{e}"
89
91
  end
90
92
 
91
93
  def self.default_keydir
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CemAcpt
4
- VERSION = '0.2.2'
4
+ VERSION = '0.2.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cem_acpt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - puppetlabs