From fb0d69c19abc9f09ec0ddc678b2b2e7f75ce5386 Mon Sep 17 00:00:00 2001 From: Julien Escario Date: Mon, 23 Nov 2020 18:31:25 +0100 Subject: [PATCH 1/3] Fixed first ping IP address --- wireguard/deploy-wg-clients.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wireguard/deploy-wg-clients.sh b/wireguard/deploy-wg-clients.sh index 9f1eb5b..8b994d5 100755 --- a/wireguard/deploy-wg-clients.sh +++ b/wireguard/deploy-wg-clients.sh @@ -52,6 +52,6 @@ read -n1 -r -p "Press space only AFTER configuration is done ..." systemctl enable wg-quick@vpnaltinea.service && systemctl daemon-reload && systemctl start wg-quick@vpnaltinea # Run a ping to make the interface usable -ping -c1 192.168.25.1 +ping -c1 10.17.25.1 exit 0; From a7d5d6b68d4182626c146b01cb3b92fb146f0daa Mon Sep 17 00:00:00 2001 From: Julien Escario Date: Wed, 3 Feb 2021 16:31:00 +0100 Subject: [PATCH 2/3] Upgraded to puppet7 --- foreman/altinea_puppet_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foreman/altinea_puppet_install.sh b/foreman/altinea_puppet_install.sh index f27ab78..924588a 100644 --- a/foreman/altinea_puppet_install.sh +++ b/foreman/altinea_puppet_install.sh @@ -1,6 +1,6 @@ #!/bin/sh -apt install -y lsb-release curl && curl -sL -o /var/cache/apt/archives/puppet6-release-`lsb_release -c -s`.deb https://apt.puppet.com/puppet6-release-`lsb_release -c -s`.deb && dpkg -i /var/cache/apt/archives/puppet6-release-`lsb_release -c -s`.deb && apt update && apt install -y puppet-agent && apt clean +apt install -y lsb-release curl && curl -sL -o /var/cache/apt/archives/puppet7-release-`lsb_release -c -s`.deb https://apt.puppet.com/puppet7-release-`lsb_release -c -s`.deb && dpkg -i /var/cache/apt/archives/puppet7-release-`lsb_release -c -s`.deb && apt update && apt install -y puppet-agent && apt clean echo "[agent] server = foreman.altinea.fr runinterval = 600 From d0f9c26c01336530a5d98d95b292b9594a3ab18d Mon Sep 17 00:00:00 2001 From: Julien Escario Date: Wed, 17 Feb 2021 16:24:44 +0100 Subject: [PATCH 3/3] Removed environnement as it's defined by puppetmaster --- foreman/altinea_puppet_install.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/foreman/altinea_puppet_install.sh b/foreman/altinea_puppet_install.sh index 924588a..cd113ba 100644 --- a/foreman/altinea_puppet_install.sh +++ b/foreman/altinea_puppet_install.sh @@ -4,7 +4,6 @@ apt install -y lsb-release curl && curl -sL -o /var/cache/apt/archives/puppet7-r echo "[agent] server = foreman.altinea.fr runinterval = 600 - environment = production listen = false pluginsync = true report = true"> /etc/puppetlabs/puppet/puppet.conf