sambot 0.1.219 → 0.1.220

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: 45b23316b2350595cf8b0b3052f49266b0a2433c
4
- data.tar.gz: 895ea0d1fea324d7d0c0e8b6a89e5929c86c5b74
3
+ metadata.gz: be24c61be67746ca0541bd4bfaa73b78c85ef8e2
4
+ data.tar.gz: 355d7fc441ea881b6a17ae89b44c4d0d674dbe87
5
5
  SHA512:
6
- metadata.gz: 8484086210d62a90fd30ee22d03fbc7d69527ce9efd99a5fdab8ab5c557d5f99e295d914c5e2a8c35e2a0e936dcb680d4a89a4193bdf757e22393e9d5bb14e01
7
- data.tar.gz: 8214613e0155362f697b13f047bcf989f8ef3fd40519076cb814d1bab66f5f1d7557aa2a350e20b979e21466071f7ba597a86deca2063d901937b6109e272984
6
+ metadata.gz: 55606498feff855d8632e7eca6f34be0d90496f03ad245f7221e730036cf1912b42a5391a80609d466c4a2f28ca1cfd4b093dd03acb1cd21f7ca2ea357cd9561
7
+ data.tar.gz: b07b398d3a241ceb021f3de5a5c7a086d537a87ecbfe1c1d47319db4cbb7dc803c0ea2e19273f593f13ead8977b9f0fff13c0216ea611a65e085f9720ea745af
@@ -95,14 +95,13 @@ Vagrant.configure("2") do |c|
95
95
  #################################################################################
96
96
  <%
97
97
  puts 'Generating the wrapped token to pass in to the bootstrap script'
98
- centos_token = ::Sambot::Testing::VaultHelper.generate_wrapped_token
99
- windows_token = ::Sambot::Testing::VaultHelper.generate_wrapped_token
100
- puts 'The tokens generated were ' + centos_token + ' and ' + windows_token
98
+ token = ::Sambot::Testing::VaultHelper.generate_wrapped_token
99
+ puts 'The token generated was ' + token
101
100
  %>
102
101
  <% if config[:box] =~ /centos/ %>
103
- c.vm.provision "shell", inline: "bash /vagrant/bootstrap.sh \"<%= centos_token %>\""
102
+ c.vm.provision "shell", inline: "bash /vagrant/bootstrap.sh \"<%= token %>\""
104
103
  <% else %>
105
- c.vm.provision "shell", inline: "powershell -ExecutionPolicy Bypass -File C:/Vagrant/bootstrap.ps1 -Token '<%= windows_token %>'"
104
+ c.vm.provision "shell", inline: "powershell -ExecutionPolicy Bypass -File C:/Vagrant/bootstrap.ps1 -Token '<%= token %>'"
106
105
  <% end %>
107
106
 
108
107
  c.vm.provider "virtualbox" do |p|
@@ -61,7 +61,7 @@ $json = @"
61
61
  {
62
62
  "vault-addr": "<%= ENV['GCP_VAULT_ADDR'] %>",
63
63
  "skip-verify": true,
64
- "wrapped": "<%= ENV['GCP_VAULT_TOKEN'] %>",
64
+ "wrapped": "<%= ENV['GCP_LINUX_VAULT_TOKEN'] %>",
65
65
  "access": ""
66
66
  }
67
67
  "@
@@ -38,7 +38,7 @@ cat << EOF > /etc/vault/tokens.json
38
38
  {
39
39
  "vault-addr": "<%= ENV['GCP_VAULT_ADDR'] %>",
40
40
  "skip-verify": true,
41
- "wrapped": "<%= ENV['GCP_VAULT_TOKEN'] %>",
41
+ "wrapped": "<%= ENV['GCP_WINDOWS_VAULT_TOKEN'] %>",
42
42
  "access": ""
43
43
  }
44
44
  EOF
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sambot
4
- VERSION = '0.1.219'
4
+ VERSION = '0.1.220'
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.219
4
+ version: 0.1.220
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olivier Kouame