busser-testinfra 0.0.1 → 0.0.2
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 +4 -4
- data/lib/busser/runner_plugin/testinfra.rb +6 -2
- data/lib/busser/testinfra/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: 51a3c0f00a9657f11bfe40dc187c243300dbba1c
|
|
4
|
+
data.tar.gz: c85505124e254aff234ad702cae1db08698454e0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d06e2cd3d5a2247970de8c666cc6416b3ac871e0018fc19bc67f7c492d21d68f335cad9e52cf178ed51dcc64da72d57e66f51399f4d1d5d0f854aca697616835
|
|
7
|
+
data.tar.gz: ba06f0ecf396662fba479d1b3379478c102d7e9cdcbab9666c0327830a2e90cccf5251e71ea01d25d9baa85ad2154cde36a0bfda6d141d9171f2434881deac72
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
2
|
|
|
3
3
|
require "busser/runner_plugin"
|
|
4
|
+
require "mkmf"
|
|
4
5
|
|
|
5
6
|
# A Busser runner plugin for testinfra
|
|
6
7
|
#
|
|
@@ -18,8 +19,11 @@ class Busser::RunnerPlugin::Testinfra < Busser::RunnerPlugin::Base
|
|
|
18
19
|
end
|
|
19
20
|
|
|
20
21
|
def install_testinfra
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
exe = find_executable0 "testinfra", nil
|
|
23
|
+
if exe.nil?
|
|
24
|
+
banner("Installing testinfra...")
|
|
25
|
+
run("pip install testinfra")
|
|
26
|
+
end
|
|
23
27
|
end
|
|
24
28
|
|
|
25
29
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: busser-testinfra
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jimmy Tang
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-03-
|
|
11
|
+
date: 2016-03-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: busser
|