From 8be65c7ebcf94e08553c526e82d8bbaf2d5212b6 Mon Sep 17 00:00:00 2001 From: Elliot Jordan Date: Wed, 26 Jun 2024 10:37:08 -0700 Subject: [PATCH] Create recipes for Aviatrix VPN Client --- Aviatrix/AviatrixVPNClient.download.recipe | 52 +++++++++++++++++ Aviatrix/AviatrixVPNClient.munki.recipe | 68 ++++++++++++++++++++++ 2 files changed, 120 insertions(+) create mode 100644 Aviatrix/AviatrixVPNClient.download.recipe create mode 100644 Aviatrix/AviatrixVPNClient.munki.recipe diff --git a/Aviatrix/AviatrixVPNClient.download.recipe b/Aviatrix/AviatrixVPNClient.download.recipe new file mode 100644 index 00000000..177f8703 --- /dev/null +++ b/Aviatrix/AviatrixVPNClient.download.recipe @@ -0,0 +1,52 @@ + + + + + Comment + Created with Recipe Robot v2.3.0 (https://github.com/homebysix/recipe-robot) + Description + Downloads the latest version of Aviatrix VPN Client. + Identifier + com.github.homebysix.download.AviatrixVPNClient + Input + + NAME + AviatrixVPNClient + + MinimumVersion + 2.3 + Process + + + Arguments + + filename + %NAME%.pkg + url + https://s3-us-west-2.amazonaws.com/aviatrix-download/AviatrixVPNClient/AVPNC_mac.pkg + + Processor + URLDownloader + + + Processor + EndOfCheckPhase + + + Arguments + + expected_authority_names + + Developer ID Installer: Aviatrix Systems, Inc. (32953Z7NBN) + Developer ID Certification Authority + Apple Root CA + + input_path + %pathname% + + Processor + CodeSignatureVerifier + + + + diff --git a/Aviatrix/AviatrixVPNClient.munki.recipe b/Aviatrix/AviatrixVPNClient.munki.recipe new file mode 100644 index 00000000..3908e732 --- /dev/null +++ b/Aviatrix/AviatrixVPNClient.munki.recipe @@ -0,0 +1,68 @@ + + + + + Comment + Created with Recipe Robot v2.3.0 (https://github.com/homebysix/recipe-robot) + Description + Downloads the latest version of Aviatrix VPN Client and imports it into Munki. + Identifier + com.github.homebysix.munki.AviatrixVPNClient + Input + + MUNKI_REPO_SUBDIR + apps/%NAME% + NAME + AviatrixVPNClient + pkginfo + + blocking_applications + + Aviatrix VPN Client.app + + catalogs + + testing + + description + Aviatrix VPN Client is a cloud-based virtual private network solution that uses OpenVPN. + developer + Aviatrix Systems + display_name + Aviatrix VPN Client + name + %NAME% + preuninstall_script + #!/bin/bash +# Unload daemon +DAEMON_ID="aviatrix.vpn.client.rp" +if /bin/launchctl print "system/$DAEMON_ID" &>/dev/null; then + /bin/launchctl bootout "system/$DAEMON_ID" +fi + + unattended_install + + unattended_uninstall + + + + MinimumVersion + 2.3 + ParentRecipe + com.github.homebysix.download.AviatrixVPNClient + Process + + + Arguments + + pkg_path + %pathname% + repo_subdirectory + %MUNKI_REPO_SUBDIR% + + Processor + MunkiImporter + + + +