lita-puppet 0.2.2 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lita/handlers/puppet.rb +12 -2
- data/lita-puppet.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7f6d78b3f76dacb146a29d03ef2737994a8eb2b
|
4
|
+
data.tar.gz: 1a4d01f63d0ceaacc73568cf1b2c0d6cd39f5d82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28cd46dfcc3e1f7c1899f5f53bb34d4eb4ea861ccfcafed60e68a19a2fc751dfb34aed615e3589b025e5b5dee3bdc7db6cfc25d81a1d819ff363b2263d039bcb
|
7
|
+
data.tar.gz: b4b1477197294e1b8a1cf43ad02c4c1687977b2f895c5b7ae6f081c46772ded05ad064f17f94fdb9654c20d074bdc0c0f076b61e91510a2ef9d724fe66dd1aa5
|
data/lib/lita/handlers/puppet.rb
CHANGED
@@ -35,7 +35,12 @@ module Lita
|
|
35
35
|
ret = nil
|
36
36
|
|
37
37
|
# TODO: better error handling
|
38
|
-
puppet_master = Rye::Box.new(
|
38
|
+
puppet_master = Rye::Box.new(
|
39
|
+
config.master_hostname,
|
40
|
+
user: user,
|
41
|
+
password_prompt: false
|
42
|
+
)
|
43
|
+
|
39
44
|
begin
|
40
45
|
Timeout::timeout(600) do
|
41
46
|
puppet_master.cd control_repo
|
@@ -79,7 +84,12 @@ module Lita
|
|
79
84
|
exception = nil
|
80
85
|
|
81
86
|
# TODO: better error handling
|
82
|
-
remote = Rye::Box.new(
|
87
|
+
remote = Rye::Box.new(
|
88
|
+
host,
|
89
|
+
user: user,
|
90
|
+
password_prompt: false
|
91
|
+
)
|
92
|
+
|
83
93
|
begin
|
84
94
|
Timeout::timeout(300) do
|
85
95
|
remote.cd '/tmp'
|
data/lita-puppet.gemspec
CHANGED