Skip to content

Instantly share code, notes, and snippets.

View frbayart's full-sized avatar
🐼
it's a raining day !

Francois BAYART frbayart

🐼
it's a raining day !
View GitHub Profile
@frbayart
frbayart / gist:61ac332d98aa327cc263e1fb5d91c2f8
Created December 7, 2021 16:45
hashicorp/vault: no available releases match the given constraints
- Installed hashicorp/aws v3.56.0 (signed by HashiCorp)
│ Error: Failed to query available provider packages
│ Could not retrieve the list of available versions for provider hashicorp/vault: no available releases match the given constraints 2.23.0
cd .terraform.d
rm -rf ./plugins/registry.terraform.io/hashicorp/vault

Keybase proof

I hereby claim:

  • I am frbayart on github.
  • I am frbayart (https://keybase.io/frbayart) on keybase.
  • I have a public key ASBO-eyCp2U95B_VNM5Sgk_8OZhVgZ0-dBCRiaeEiHiVjwo

To claim this, I am signing this object:

@frbayart
frbayart / esxi-firewalling
Last active September 3, 2020 03:03
Generate OVA for with Packer
ESX Configuration for VNC during Packer configuration
[root@esxi:/etc/vmware/firewall] more vnc.xml
<ConfigRoot>
<service id='0200'>
<id>VNC</id>
<rule id='0000'>
<direction>inbound</direction>
<protocol>tcp</protocol>
<porttype>dst</porttype>
@frbayart
frbayart / blackbox.yml
Last active September 2, 2020 16:32
blackbox-exporter with custom CA version=0.17.0, branch=HEAD, revision=1bc768014cf6815f7e9d694e0292e77dd10f3235
modules:
icmp_ipv4:
prober: icmp
timeout: 5s
icmp:
preferred_ip_protocol: ip4
http_2xx:
prober: http
timeout: 5s
stage('Init variables') {
dir(env.WORKSPACE) {
timeout(time: 1, unit: 'MINUTES') {
retry(2) {
appName = readFile("${WORKSPACE}/PACKAGE_NAME.txt").trim()
env.PACKAGE_NAME = appName
appVersion = readFile("${WORKSPACE}/VERSION.txt").trim()
configFileProvider([configFile(fileId: 'ef67610e-0037-4700-b0be-581c05aa6293', targetLocation: './check-version.sh')]) {
@frbayart
frbayart / build.sh
Created February 25, 2020 10:08 — forked from dzlab/build.sh
Configure NGINX to log HTTP POST request's body
#!/bin/bash
echo "Building NGINX along with Echo module"
# install prerequisites
yum -y install gcc gcc-c++ make zlib-devel pcre-devel openssl-devel
# download the Echo module
curl -L -O 'https://github.com/openresty/echo-nginx-module/archive/v0.58.tar.gz'
tar -xzvf v0.58.tar.gz && rm v0.58.tar.gz
mv echo-nginx-module-0.58 /tmp/echo-nginx-module
@frbayart
frbayart / Brols.md
Last active September 12, 2023 16:14
Remote Working
@frbayart
frbayart / genesis_public_key
Created February 21, 2018 15:37
genesis_public_key
04961772bd0d83884f03b057328791fdd4b2551698340df663fd7bb9cec9969405277ccc7e5f3ab19cae487a57dc4b733de43dd4a0f9d138f9e963a5cb8e70fe32
# HOWTO: Installing Vault On AWS with S3 backend
This is a HOWTO on installing [Vault](https://www.vaultproject.io/https://github.com/hashicorp/vault) on AWS with S3.
Components used:
* [Vault](https://www.vaultproject.io/https://github.com/hashicorp/vault)
* [AWS S3](https://aws.amazon.com/s3/)
* [AWS IAM](https://aws.amazon.com/iam/)
* [AWS EC2](https://aws.amazon.com/ec2/)
* [OpenSSL](https://www.openssl.org/)
g6Rib2R5hqhkZXRhY2hlZMOpaGFzaF90eXBlCqNrZXnEIwEgLd4p58GTlOQhHmFHRE0g2NHZqmltm9p2RYXukBwouiwKp3BheWxvYWTFAux7ImJvZHkiOnsia2V5Ijp7ImVsZGVzdF9raWQiOiIwMTIwMmRkZTI5ZTdjMTkzOTRlNDIxMWU2MTQ3NDQ0ZDIwZDhkMWQ5YWE2OTZkOWJkYTc2NDU4NWVlOTAxYzI4YmEyYzBhIiwiaG9zdCI6ImtleWJhc2UuaW8iLCJraWQiOiIwMTIwMmRkZTI5ZTdjMTkzOTRlNDIxMWU2MTQ3NDQ0ZDIwZDhkMWQ5YWE2OTZkOWJkYTc2NDU4NWVlOTAxYzI4YmEyYzBhIiwidWlkIjoiZWVkODM4OTBiMDQ5ZjcwYmZkMDRjNDc1YmJlNDI5MTkiLCJ1c2VybmFtZSI6ImZyYmF5YXJ0In0sInNlcnZpY2UiOnsibmFtZSI6ImdpdG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