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: de423259030fee9c9401e242a3c386b2274cba44
4
- data.tar.gz: dd369f17c622c893738e54bbd80db09bb5f143fe
3
+ metadata.gz: 4a1602dc71e07a9c7d46fe8a775bcad68ed20baf
4
+ data.tar.gz: 685f6b4f9da71119185f1b795beb5fb52c6510fe
5
5
  SHA512:
6
- metadata.gz: 1fa889e9fca672d6cbdb6539b8e0b90f418a0392185e0b59870ddc5a15aafc070996636d9a1d736b282c0f58850908a199d89c0c637f78f3303eff16aa4e8edd
7
- data.tar.gz: abb70a788ba8cb96fe5ac1706f92e5c0dd6eb122d28099eb5c057aeb20aa2d76f32b4577fddb039d3e8ebb65626f7fb9bc3f5414c3abaae45e54b5c8dbdc6207
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.mv(config['centos'], 'bootstrap.sh')
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.mv(config['windows'], 'bootstrap.ps1')
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 %>'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sambot
4
- VERSION = '0.1.131'.freeze
4
+ VERSION = '0.1.132'.freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sambot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.131
4
+ version: 0.1.132
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olivier Kouame