specinfra 2.44.3 → 2.44.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/specinfra/backend/ssh.rb +2 -2
- data/lib/specinfra/command/redhat/base/yumrepo.rb +1 -1
- data/lib/specinfra/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d22460fb665a4c85c93009dccdffd8565bf3384
|
4
|
+
data.tar.gz: 358cc3345dd2f0659e54c1801c774e44e310d88d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2a7c074a4f3290f7e388b6400900d9938c3d198b5856cb3d98eb37e6c86f960733de818f86b612a88a09cfd275d5e0842ee76ede788635772f9bc2bff207b44
|
7
|
+
data.tar.gz: 283be62f8411267b4b22d084f99dadc64bba5b14f58de60da5ec38f1758ab08854e229e35cf6fb5b347836b90fbc087d5d4b28244d6d27417e333d9579a507dc
|
@@ -124,8 +124,8 @@ module Specinfra
|
|
124
124
|
abort "Wrong sudo password! Please confirm your password on #{get_config(:host)}."
|
125
125
|
elsif data.match /^#{prompt}/
|
126
126
|
channel.send_data "#{get_config(:sudo_password)}\n"
|
127
|
-
# When pty is allocated and
|
128
|
-
#
|
127
|
+
# When pty is allocated and the name of the target host
|
128
|
+
# cannot be resolved, this error is injected into stdout.
|
129
129
|
# So exclude this error message.
|
130
130
|
elsif ! data.match /^sudo: unable to resolve host/
|
131
131
|
stdout_data += data
|
@@ -1,7 +1,7 @@
|
|
1
1
|
class Specinfra::Command::Redhat::Base::Yumrepo < Specinfra::Command::Linux::Base::Yumrepo
|
2
2
|
class << self
|
3
3
|
def check_exists(repository)
|
4
|
-
"yum repolist all -C | grep ^#{escape(repository)}"
|
4
|
+
"yum repolist all -C | grep -E \"^#{escape(repository)}\(\\s\|$\)\""
|
5
5
|
end
|
6
6
|
|
7
7
|
def check_is_enabled(repository)
|
data/lib/specinfra/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: specinfra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.44.
|
4
|
+
version: 2.44.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gosuke Miyashita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-scp
|