sambot 0.1.226 → 0.1.227
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a1df7024da35a9375f4ca03c669d62689387f95
|
4
|
+
data.tar.gz: 5a4bbb27ced8a359571891d5566495cc9e60f668
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23b8ec60a5dc557a7b2cd610d6dfe5b9e2037ae77e09ea6dbadd313c1e64e5ea45b1380fa62b019344364c45ec142f7e16d43888867811ce7d892e7d83da09c5
|
7
|
+
data.tar.gz: 6ffb2148d45b6def1a19e5faebfb4716d003d8eea178f7eec69f753acd6800c3141536f157e06369772bdd7c6b43deb04e36dcbbc3904f50bd356ee2d998a8a3
|
@@ -1,5 +1,17 @@
|
|
1
1
|
#!/bin/bash -e
|
2
2
|
|
3
|
+
<%
|
4
|
+
|
5
|
+
def check_environment(name)
|
6
|
+
raise "The environment variable #{name} has not been configured" unless ENV[name]
|
7
|
+
end
|
8
|
+
|
9
|
+
check_environment('GCP_VAULT_ADDR')
|
10
|
+
check_environment('GCP_WINDOWS_VAULT_TOKEN')
|
11
|
+
check_environment('AS_VAULT_TOOL_VERSION')
|
12
|
+
|
13
|
+
%>
|
14
|
+
|
3
15
|
#################################################################################
|
4
16
|
# PROVISIONING A LINUX BOX #
|
5
17
|
#################################################################################
|
data/lib/sambot/version.rb
CHANGED