sambot 0.1.131 → 0.1.132
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: 4a1602dc71e07a9c7d46fe8a775bcad68ed20baf
|
4
|
+
data.tar.gz: 685f6b4f9da71119185f1b795beb5fb52c6510fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c502e342989f140142eb6c3b27db439824f9714dd2354b0bcc8b741107b1fb0f8f134b63e8c8c020438c3285afef78322b9e188c769eef5788b1bb272b9dafe
|
7
|
+
data.tar.gz: bf300b7aace3feaf25b94079286d4cf04792b2c140b5e625c9c53c18d023d079a084b7af591c16b001c4bb58bbc80dcb559f24eead2ced6d02a196b9e3b41691
|
@@ -18,11 +18,11 @@ module Sambot
|
|
18
18
|
def self.override_bootstrap_mechanism(config)
|
19
19
|
if config['centos']
|
20
20
|
raise ApplicationError, "The file #{config['centos']} does not exist" unless File.exist?(config['centos'])
|
21
|
-
FileUtils.
|
21
|
+
FileUtils.cp(config['centos'], 'bootstrap.sh')
|
22
22
|
end
|
23
23
|
if config['windows']
|
24
24
|
raise ApplicationError, "The file #{config['centos']} does not exist" unless File.exist?(config['windows'])
|
25
|
-
FileUtils.
|
25
|
+
FileUtils.cp(config['windows'], 'bootstrap.ps1')
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
@@ -24,6 +24,8 @@ platforms:
|
|
24
24
|
use_private_ip: false
|
25
25
|
preemptible: true
|
26
26
|
service_account_name: <%= ENV['GCP_SERVICE_ACCOUNT_NAME'] %>
|
27
|
+
custom_metadata:
|
28
|
+
windows-startup-script-url: <%= ENV['GCP_BOOTSTRAP_SCRIPT'] %>
|
27
29
|
service_account_scopes:
|
28
30
|
- userinfo-email
|
29
31
|
- logging-write
|
@@ -15,8 +15,10 @@ supports '<%= platform %>'
|
|
15
15
|
<% @cookbook_dependencies.each do |dependency| %>
|
16
16
|
depends '<%= dependency %>'
|
17
17
|
<% end %>
|
18
|
+
<% if @cookbook_name != 'as-vault-token' %>
|
18
19
|
depends 'as-vault-token'
|
19
20
|
<% end %>
|
21
|
+
<% end %>
|
20
22
|
<% if @cookbook_gems %>
|
21
23
|
<% @cookbook_gems.each do |gem_dependency| %>
|
22
24
|
gem '<%= gem_dependency %>'
|
data/lib/sambot/version.rb
CHANGED