f56d5f6a73
This change adds the package zitrlp-strongswan. This module allows management of strongswan on Debian via swanctl / VICI. Test Plan: PASS: downloader PASS: build-pkgs --clean --all PASS: build-image PASS: Run full build, system install, bootstrap and unlock SX system PASS: Run command "puppet module list | grep strongswan" PASS: Create a puppet manifest file responsible for creating and configuring each one of the strongswan and swanctl config files. Copy the manifest to /usr/share/puppet/modules/platform/manifest directory. Run "sudo puppet apply -e "include ::platform::strongswan"" command. Observe that the files /etc/swanctl/swanctl.conf, /etc/strongswan.conf, /etc/strongswan.d/charon.conf and /etc/strongswan.d/charon-loggings.conf were updated according with the specifications of the implemented manifest. Story: 2010940 Task: 48987 Change-Id: I3fac6d5ec514a9a7ab237b0c83dda61d042d4fcf Signed-off-by: Leonardo Mendes <Leonardo.MendesSantana@windriver.com>
14 lines
288 B
Bash
14 lines
288 B
Bash
#!/bin/sh
|
|
# see: dh_installdeb(1)
|
|
|
|
set -e
|
|
|
|
if [ "${1}" = "remove" ] || [ "${1}" = "upgrade" || [ "${1}" = "deconfigure" ]; then
|
|
update-alternatives --remove puppet-module-zitrlp-strongswan \
|
|
/usr/share/puppet/modules.available/puppet-zitrlp-strongswan
|
|
fi
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|