pero 0.5.6 → 0.5.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pero/puppet.rb +2 -2
- data/lib/pero/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f292ef6092bf2aadcccca0a70fbf2257d273f0e2fded39752b8817d6920c334
|
4
|
+
data.tar.gz: 31d236c3533a6981aedf8d90d60b835561b64e50cfb5b643755f572e68003613
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eccbb2a3cdf32be14329cc7e2386151c6943519cd5123066e35d04b7032206d6c066623fa87af0a6cf350e7a7b9027df0bf6320a1fac674bd3107c40fa66a9b4
|
7
|
+
data.tar.gz: 8e179117e5ee50dc539a8f67d8308f9fe2928b6f1036eeddddd1f43e882e0784d8695c9aafa0d32c637953226dd9bb65091921bb7d0fe2a97c40a0d97b6b815d
|
data/lib/pero/puppet.rb
CHANGED
@@ -94,7 +94,7 @@ module Pero
|
|
94
94
|
@mutex.lock
|
95
95
|
run_container.kill if docker.alerady_run?
|
96
96
|
ensure
|
97
|
-
@mutex.unlock
|
97
|
+
@mutex.unlock if @mutex.owned?
|
98
98
|
end
|
99
99
|
|
100
100
|
def serve_master
|
@@ -115,7 +115,7 @@ module Pero
|
|
115
115
|
@mutex.lock
|
116
116
|
docker.alerady_run? || docker.run
|
117
117
|
ensure
|
118
|
-
@mutex.unlock
|
118
|
+
@mutex.unlock if @mutex.owned?
|
119
119
|
end
|
120
120
|
|
121
121
|
def apply
|
data/lib/pero/version.rb
CHANGED