lita-puppet 0.1.0 → 0.1.2
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 +2 -1
- 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: 98bc7c0aa0f59507f08f466dd671c6acbdb019d3
|
4
|
+
data.tar.gz: d009bf33e69a4f9ed040fe6e30f35003e9c9fc4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a106dca419bae42efd34ab4c965780205584cefa64791aa1d54897d0fc9816a60fee50f5cc285e949f597aab1cb93ac79015ad6cd82ab80fdd3b21cd7fdab962
|
7
|
+
data.tar.gz: 1a5c7247520c9ee9ed2e493952aca40b47d5b8acb1b396bebe476d4940dc199fc78994413f6c703d86033d05908a47a9c74332fa3d6b47fe887070294080b78d
|
data/lib/lita/handlers/puppet.rb
CHANGED
@@ -18,9 +18,10 @@ module Lita
|
|
18
18
|
def r10k_deploy(response)
|
19
19
|
environment = response.matches[0][4]
|
20
20
|
control_repo = config.control_repo_path || '/opt/puppet/control'
|
21
|
+
user = config.ssh_user || 'lita'
|
21
22
|
|
22
23
|
Timeout::timeout(600) do
|
23
|
-
puppet_master = Rye::Box.new(
|
24
|
+
puppet_master = Rye::Box.new(config.master_hostname, user: user)
|
24
25
|
puppet_master.cd control_repo
|
25
26
|
|
26
27
|
# Need to use sudo from here on
|
data/lita-puppet.gemspec
CHANGED