sambot 0.1.129 → 0.1.130

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 74354ecb486f502bef4e42cc0eeccb524c4ba430
4
- data.tar.gz: 304bdaeddc89d90e94e4db420dae51d358a68730
3
+ metadata.gz: 9f417d900528b581f8042ea65940b1dfef9618d2
4
+ data.tar.gz: c00d8d29969bf49566baee2af586f47b692fc4c7
5
5
  SHA512:
6
- metadata.gz: b4ab09d24caaa18c9c9f5da891989bfc9a0466f3788e5e7b1a10db26665d5e7004b10fa5602bca10b80d9b2b33c58927336d61e350b4282fc2dc0973748b328a
7
- data.tar.gz: 7abc63bc782d94a03ef3c5b3dad68a2d092cb4569b390d435db6f7226a8bb3c39e4041114232979814e0a07d34cbba16881ee1d15baf10198c2e6b05b5faddc3
6
+ metadata.gz: c64393f70886ca30650b72451fdcfb120256f44e5a2676095c59076ab90d01a7f33886f49d34f820382fe9282fc502db9bee2b3ae6197146f121596ab9368ca8
7
+ data.tar.gz: ed3ed704bfd4a3a41fc57ab3cdc312a7879ec5d1a0ec5b40f0e42f7cb0d89da1015c05d867caa4e9d91ceb879cb064af61345e2c81be29a11f5917752e00f0ad
@@ -86,7 +86,6 @@ Vagrant.configure("2") do |c|
86
86
  <% end %>
87
87
 
88
88
  <% if config[:box] =~ /centos/ %>
89
- <% #c.vm.provision "file", source: "~/.vault-token", destination: "/tmp/vault-token" %>
90
89
  c.vm.provision "shell", inline: "bash /vagrant/bootstrap.sh"
91
90
  <% else %>
92
91
  c.vm.provision "shell", inline: "powershell -ExecutionPolicy Bypass -File C:/Vagrant/bootstrap.ps1"
@@ -1,10 +1,8 @@
1
1
  #!/bin/bash -e
2
- #token=$(cat /tmp/vault-token)
3
- #sudo mkdir /etc/vault
4
- #echo "{\"skip-verify\": true, \"access\": \"$token\", \"vault-addr\": \"https://vault.brighter.io:8200\"}" > /etc/vault/tokens.json
5
- #rm -f /tmp/vault-token
6
- #host_ip=`ip route | awk '/default/ {print $3}'`
7
- #echo "$host_ip vault.brighter.io" > /etc/hosts
8
2
  sudo yum install -y unzip
9
- wget "https://releases.hashicorp.com/vault/0.6.5/vault_0.6.5_linux_amd64.zip" –qnv
3
+ curl -O "https://releases.hashicorp.com/vault/0.6.5/vault_0.6.5_linux_amd64.zip"
10
4
  unzip vault_0.6.5_linux_amd64.zip -d /usr/bin
5
+ nohup vault server -dev -dev-root-token-id="root" < /dev/null &> /tmp/vault.log &
6
+ export VAULT_ADDR=http://127.0.0.1:8200
7
+ mkdir /etc/vault
8
+ echo '{ "vault-addr": "http://127.0.0.1:8200", "access": "root"}' > /etc/vault/tokens.json
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sambot
4
- VERSION = '0.1.129'.freeze
4
+ VERSION = '0.1.130'.freeze
5
5
  end
@@ -19,23 +19,20 @@ module Sambot
19
19
  BASTION_HOST_IP = '146.177.10.174'
20
20
 
21
21
  FORWARDS = {
22
+ 'rundeck.brighter.io': {
23
+ tunnel_port: 9004, dest_port: 4440, proxy_port: 443
24
+ },
22
25
  'chef.brighter.io': {
23
26
  tunnel_port: 9000, dest_port: 443, proxy_port: 443
24
27
  },
25
28
  'teamcity.brighter.io': {
26
29
  tunnel_port: 9001, dest_port: 8111, proxy_port: 443
27
30
  },
28
- 'rundeck.brighter.io': {
29
- tunnel_port: 9008, dest_port: 4440, proxy_port: 443
30
- },
31
31
  'splunk.brighter.io': {
32
32
  tunnel_port: 9002, dest_port: 8080, proxy_port: 443
33
33
  },
34
34
  'vault.brighter.io': {
35
35
  tunnel_port: 9003, dest_port: 8200, proxy_port: 8200
36
- },
37
- 'rundeck.brighter.io': {
38
- tunnel_port: 9004, dest_port: 443, proxy_port: 443
39
36
  }
40
37
  }
41
38
 
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.129
4
+ version: 0.1.130
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olivier Kouame