prima-twig 0.36.65 → 0.36.66
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/bin/twig-feature +2 -0
- 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: d1a971059cd262d6f8d97378fc06a6fceeaaf9c5
|
|
4
|
+
data.tar.gz: b9afe6910e4c17f176d3630dd08440a3b10f8ecc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c2343003a52394c5b1ec9e7fb7bff36b1562d307b84d58e3f15dff1b1eeb7942adf803673a822c0fd8c9960d8e30c81d8758b3931dc34f53320a5a00b6028ab
|
|
7
|
+
data.tar.gz: cf19ec9c374ac32c4c4c9f325059186a5b5f6e2ee8b3611c603fe5dae5cb9c49082844cb50d32e8bc6be12dcfbe0ab43038b0becd942eabb01f0d8ab66ceaec7
|
data/bin/twig-feature
CHANGED
|
@@ -2647,7 +2647,9 @@ class Release
|
|
|
2647
2647
|
if @host_container_name
|
|
2648
2648
|
@host_container_name
|
|
2649
2649
|
else
|
|
2650
|
+
execute_command 'cat /etc/hostname'
|
|
2650
2651
|
hostname = `cat /etc/hostname`
|
|
2652
|
+
execute_command "docker ps | grep #{hostname} | awk '{print $NF}'"
|
|
2651
2653
|
@host_container_name = `docker ps | grep #{hostname} | awk '{print $NF}'`
|
|
2652
2654
|
# @host_container_name = `docker ps | grep #{hostname} | sed -r "s/.+ ([^\s].+)$/\1/p"`
|
|
2653
2655
|
end
|